Displaying 5 results from an estimated 5 matches for "validate_re".
Did you mean:
validate_op
2012 Apr 09
7
validate_re validation failures
I am using stdlib module''s validate_re function to validate parameters
passed to a parameterized class as pasted here: http://pastebin.com/7eYAeLEa
.
The validation works fine however when I run this manifest locally
using ''puppet apply'' command where puppet execution stops if a
validation test fails. However when I...
2013 Apr 18
1
Fetching class parameteres fails when tiering node inheritance under puppet 3.x
...following works OK:
node "common" {
$var=''foo''
}
node "gratia-base" inherits common {
class {
''gratia'':
dbhost => ''server.mysite.net'',
}
}
node "node1" inherits gratia-base {
validate_re($::gratia::dbhost, ''.mysite.net'')
}
But if I move the ''common'' node definition to a different .pp file, puppet
fails to read the value of $::gratia::dbhost.
The way I''ve the nodes files structured is:
manifests/nodes.pp
import "nodes.d/*.pp...
2015 Jun 29
1
puppet files denied by SELinux
...et/parser/functions/ensure_resource.rb]:
> Dependency File[/var/lib/puppet/lib] has failures: true
> Warning:
> /File[/var/lib/puppet/lib/puppet/parser/functions/ensure_resource.rb]:
> Skipping because of failed dependencies
> Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/validate_re.rb]:
> Dependency File[/var/lib/puppet/lib] has failures: true
> Warning: /File[/var/lib/puppet/lib/puppet/parser/functions/validate_re.rb]:
> Skipping because of failed dependencies
> Notice: /File[/var/lib/puppet/lib/puppet/reports/datadog_reports.rb]:
> Dependency File[/var/lib/pu...
2015 Jun 21
2
puppet files denied by SELinux
Hi all,
Thanks for all your suggestions. Here's where I'm at with this.
Can you give details about your puppetmasterd setup ? it seems that
> you're using Foreman as puppet ENC.
>
Yes, I'm on foreman 1.7.4 and puppet 3.75. You are correct that I'm using
foreman, sorry I hadn't thought to mention it!
> Foreman works fine with selinux enabled : that's what
2015 Jun 21
0
puppet files denied by SELinux
...[/var/lib/puppet/lib/puppet/parser/functions/ensure_resource.rb]:
Dependency File[/var/lib/puppet/lib] has failures: true
Warning:
/File[/var/lib/puppet/lib/puppet/parser/functions/ensure_resource.rb]:
Skipping because of failed dependencies
Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/validate_re.rb]:
Dependency File[/var/lib/puppet/lib] has failures: true
Warning: /File[/var/lib/puppet/lib/puppet/parser/functions/validate_re.rb]:
Skipping because of failed dependencies
Notice: /File[/var/lib/puppet/lib/puppet/reports/datadog_reports.rb]:
Dependency File[/var/lib/puppet/lib] has failures: t...