Hi Richie,
There's a few options available with the Ruby ERB templating in Puppet,
depending on how you want to control the output, these pages are a good
introduction to ERB and Puppet.
http://docs.puppetlabs.com/guides/templating.html
http://docs.puppetlabs.com/learning/templates.html
Her
Hi Danny,
Are you able to post the contents of the classes containing the firewall
resources?
Jacob
On Wednesday, November 6, 2013, Danny Roberts wrote:
> We are using the puppetlabs-firewall module (
> https://forge.puppetlabs.com/puppetlabs/firewall) and we were having the
> issue where by th
Hi Richie,
Using the iptables_version fact thats part of the puppetlabs firewall
module, you can tweak that to change the command to return the rpm version
as in Dan's example.
The below code will return the full version string for the sqlite rpm
Jacob
Facter.add(:sqlite_version) do
confine
the has_ip_network function that's part of puppet-stdlib may help, it
matches all interfaces against a network address and return a boolean if a
match is found.
https://github.com/puppetlabs/puppetlabs-stdlib#has_ip_network
On 3 December 2013 04:18, jcbollinger wrote:
>
>
> On Friday, November
Hi Jyotir,
The filename and the defined type names need to be the same, you can either
rename the define to accounts::system_users or rename the file to system.pp
Jacob
On 20 January 2014 14:52, jyotir bhandari wrote:
> Hi
>
> I am getting error when i try to add system user including fields
Hi Steven,
r10k does not accept Puppet variables or facts as it run's outside of
Puppet, the confusion is because Gary's example is using the awesome r10k
puppet module by Zack to setup the r10k configuration, hence it can use the
puppet facts or variables to create and manage the /etc/r10k.yaml
c