Hi list,
I have a define type with parameters like this:
define user ( $username=$title,
$comment='',
$uid='',
$gid=$uid,
$groups=[ 'users',],
$password='',
$shell="/bin/false",
$su
d='',
$shell="/bin/false",
$sudo="disable",
$sudo_nopasswd="disable", )
and then do check on that and then pass:
sudo: enable
And it still fails with the same error
On Monday, 13 January 2014
Hi All,
I'm having issues with what seems to be incorrect parsing by all the custom
functions we have.
If I run "ruby -rpuppet" I get something like:
[root@puppet modules]# ruby -rpuppet
/var/lib/puppet/lib/puppet/parser/functions/foreman.rb
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb
s,
Karolis
On 18 May 2014 12:28, David Schmitt wrote:
> On 2014-05-16 14:46, Karolis Pabijanskas wrote:
>
>> Hi All,
>>
>> I'm having issues with what seems to be incorrect parsing by all the
>> custom functions we have.
>>
>> If I run "rub
Hi All,
I am sure this is going to be something completely stupid, but I just can't
find the issue :)
I have a very simple module that that needs a different filepath depending
on the operating system, so I'm trying to call:
$global_bashrc_file = hiera("global_bashrc_file")
from my module.
The
De Wit wrote:
> > Hi,
> >
> > always use quotes when using facts etc in hiera :
> >
> > :hierarchy:
> > - "%{operatingsystem}"
> > - default
> >
> > hth
> >
> > Johan
> >
> > On 30/07/14 18:21, Karolis P
Hi,
I have a custom type and provider that are depending on a rest-client gem.
After the pluginsync, when providers get loaded, I do this to avoid it
failing:
30 begin
31 require 'rest-client'
32 rescue LoadError => e
33 Puppet.info "You need the `rest-client` gem for this to work."
34