i can explain clearily with in 10 min better we can connect 10 min
we have 10 IP address (10 hosts)
Given the above Hash existing in Hiera, write puppet code to return only the hostnames of the entries that are in the 'ess' host class.
Bonus Guru Question: Write in Ruby a Custom Puppet Function that does the same thing as above,
except the host class to be searched for is passed as an argument.
2) Given an Array variable with hosts from #1 and using Puppet code how would you change each element in the array to look like: http://<hostname>:8080
3) Write a quick module that accomplishes the following tasks.
a) Installs Apache2
b) Creates the file /etc/apache2/[url removed, login to view] using a template (the contents of the template doesn't matter)
c) Creates the file /etc/apache2/site-available/[url removed, login to view] from a file in the module (the contents of the file doesn't matter)
d) Links the file in c) to /etc/apache2/site-enabled/[url removed, login to view]
e) Restarts apache if any of these files changes.
4) Given a hostname pattern of 'host-<company>-<hostclass>-<index>' (i.e. host-apple-puppet-0) write a custom fact that extracts the <company> value and assigns it to the variable 'company' in facter.
4 freelancers are bidding on average $150 for this job
Though I am new here but my team has 4 years of experience into Website Design and Development across all Platforms especially on . Can very well execute this Project and can start immediately.