Look up on the create_resources function on the docs.
If I undestood you correctly, you want to create all the users from your
hash, with the user type at ONCE?
If yes, this will do nicely :)
Hristo
On Wed, Mar 2, 2016 at 11:26 AM, Thomas Bendler
wrote:
> Hi @all,
>
> I write a module that crea
I have seen the same type of error with a custom fact, that was failing to
set the proper value for the variable(the variable was an array). Then the
empty variable was used as a name for resource creation.
Care to check for that in your manifests?
Hristo
On Feb 28, 2016 11:17 PM, "Robert Davidson
Which provider are you using? Are you sure this version is available?
Hristo
On Thu, Feb 25, 2016 at 4:49 PM, tetlika wrote:
> hi, I have a problem with puppet sw management
>
> when I do in puppet:
>
> package { "nginx" :
> ensure => "1.8.1-1"
> }
>
> the nginx version 1.8.1 is succes
*created file in test-sample/manifests/site.pp:*
Rename it to sample/manifetsts.site.pp
Cheers,
Hristo
On Wed, Jan 27, 2016 at 11:50 AM, kumar kittu wrote:
> Hi,
>
> I am new to puppet and installed puppet standalone in my linux box.
> I generated module with command:"puppet module generate t
Try :
setcode { network }
>From puppett docs:
1. A call to Facter.add('fact_name'), which determines the name of the
fact
2. A setcode statement for simple resolutions, which is evaluated to
determine the fact’s value.
On Wed, Jan 13, 2016 at 12:42 AM, Mike Reed wrote:
> Hello al
For the puppet agent, you can always try tdis rsyslog syntax:
if $programname == 'puppet-agent' then /var/log/puppet.log
if $programname == 'puppet-agent' then ~
Same for the master process.
On Tue, Jul 21, 2015 at 11:29 PM, eric odell wrote:
> How to get all puppet agent/master logs to rsyslog
protest:
file1:
logdir: '/tmp/'
logfile: fred1
text: 'Alfredo1 was here'
protest:
file2:
logdir: '/tmp/'
logfile: fred2
text: 'Alfredo2 was here'
This I believe is incorrect.
protest:
file1:
logdir: '/tmp/'
logfile: fred1
text: 'Alfredo1 was here'
file2
Have you considered reading the documentation?
https://github.com/puppetlabs/puppetlabs-vcsrepo
On Sat, Feb 14, 2015 at 5:37 PM, Bilal Ahmad wrote:
> Trying to install the module vcsrepo with puppet, but really unsure how it
> could be done. The commandline to install it is:
>
> puppet module in
$var="blabla $var1" is the way so assign it.
But in puppet, you cant reassign variables values in the same scope , so
once you do:
$envir = "${which_envir}",
You cant upcase in the same variable name
$envir = upcase($envir).
Try
$envir_upcase = upcase($evir)
On Wed, Jan 21, 2015 at 11:24 PM, o