Displaying 3 results from an estimated 3 matches for "commonappdata".
2012 Mar 21
3
Puppet 2.7.12 on Windows
Hi,
I posted an other problem with puppet and windows weeks ago.
With the new Version 2.7.12 those problems were fixed.
But now I don''t get puppet to work.
I installed puppet as explained here:
http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows
It worked so far.
But when I start
puppet agent --test --waitforcert 10
I get the following error message:
2012 Nov 20
2
hiera values issue
...g the
the variable ''clientcert''. This is my configuration in the puppetmaster:
The ''/etc/hiera.yaml'' file:
---
:backend:
- yaml
:hierarchy:
- ${certname}
- common
:yaml:
# datadir is empty here, so hiera uses its defaults:
# - /var/lib/hiera on *nix
# - %CommonAppData%\PuppetLabs\hiera\var on Windows
# When specifying a datadir, make sure the directory exists.
:datadir:
I created the file ''/var/lib/hiera/c108.dfgserver.com.yaml'' with the
following content:
---
#vsftpd
max_per_ip: 20
But this doesn´t work. The agent ignores the value '...
2013 Apr 19
12
How to pass puppet/hiera veriable to external script ? Do I need to ?
...ge files group ownership so I
need to
run a script which cleanups after cleanup ;-)
I use the following code:
---
:backends:
- yaml
:hierarchy:
- nodes/%{clientcert}
- virtual/%{virtual}
- common
:yaml:
# datadir is empty here, so hiera uses its defaults:
# - /var/lib/hiera on *nix
# - %CommonAppData%\PuppetLabs\hiera\var on Windows
# When specifying a datadir, make sure the directory exists.
#:datadir: /etc/puppet/hieradata
:datadir: /etc/puppet/environments/%{environment}/hieradata
:merge_behavior: deeper
/etc/puppet/environments/env1/manifests/site.pp
node default {
hiera_includ...