The puppet agent test run failed durong a fresh new Puppet Enterprise...
This is a fresh installation of Puppet Enterprise 2016.4.2 on RHEL 7, I opted for guided installation mode whereby a web UI leads me through installation process. The FQDN of the server that I install...
View Articlethe correct way to pass values into modules
Greetings. I'm a puppet novice and I'm using a very old version, so bear with me. I took a puppet training class, and if I remember correctly, I learned that the "proper" way to pass values into a...
View ArticleCannot find class on PE Console
Hello Guys, I'm new to puppet and I'm having some problems to find class on PE Console. In details, I've installed some modules from Puppet Forge( For example, this one...
View Articlewhat is difference between class {'::XYZ'} and class {'XYZ'}
What is difference between class {'::XYZ': } and class{'XYZ': } The 2nd question I have is # cat foo.pp if ! defined(Class['XYZ']) { ...} # If I have a module 'XYZ' in the modulepath but not in in...
View ArticleIs EXE installation from a UNC path via the Package resource still not possible?
I've been pulling my hair out troubleshooting an issue surrounding my Package resources. I have been using a Windows Server 2008 R2 box with Puppet Agent 1.8.2. When I had all the files on the local...
View ArticleCreate ssh tunnel via intranet and extranet.
Hello, I'm running puppet 3.8.6 I need help to establish some kind of tunnel between our intranet and the extranet that we have in our environment. Basic idea is this: Puppet Master (inside our...
View ArticleAccess variable from other manifest
Hi, I'm trying to write my own module ...Right now it is only a experimental and consists from 2 manifests... ###init.pp### class ntp ( $var = $ntp::params::ip1, ) { file { '/tmp/module.conf': path...
View ArticleHow does one add an AD group to a local group in Puppet 3.6.*
The group resource can't be used to define the AD group because group has no groups attribute. The group resource can't be used to define the local group (using the groups attribute to add the AD...
View Article"Cannot reassign variable" error on Puppet 4.7, worked on 3.8
Hi Team, I am not able to use the global variable on Puppet 4.7 version its throwing `Cannot reassign variable`, the same thing was working smoothly on Puppet 3.8 Version. The below code used to work...
View ArticleParameter path failed on File[/etc/puppetlabs/analytics-opt-out]: File paths...
Hello Team, I have set up PE server on CentOS 6.8 and one of my Puppet agent is on CentOS and couple of agents are running on windows(8.1 and server 2012). I am getting the above error when ever the...
View Articlehiera eyaml erroring out in puppet agent run
This is the error that i am getting when i do a sudo puppet agent -t on the agent node: Error while evaluating a Function Call, Lookup of key 'epel::epel_mirrorlist' failed: DataBinding 'hiera': Cannot...
View ArticleWhat the valid way to set a varable = facter lookups
Is this correct? class sudo_linux { $major = $::os['release']['major'] package { 'sudo': ensure => "1.8.15-el${major}", } }
View ArticleHow to do a puppetserver restart through manifest
I have a scenario where i am managing hiera.yaml and eyaml backend through a module and at the end of the module run, i should restart the puppetserver for it to take the latest changes into effect....
View ArticleWhen does a refresh-only trigger?
Is there any guarantee on when an `exec` will run if it subscribes to another resource and has `refreshonly` set to true? For example, in the following code the `exec` will run on a change to the...
View ArticleForeman hostgroups backup
Hi Team, Need help on something, I am planning to upgrade Foreman to the latest version, is there any way on how I can take Foreman host groups backup on the existing version say 1.9 so that I can...
View Articleyum cannot find pe-client-tools package
I tried to follow https://docs.puppet.com/pe/2016.5/install_pe_client_tools.html#pe-managed-workstation-installation instructions for Installing the PE client tools package. I used...
View ArticleHow do I recursively set perms on files while leaving the permissions of...
I'd like to remove group write and world write on all files in a directory tree while leaving permissions of subdirectories alone. Is there a way to do this in puppet? Thanks.
View Articleruby / jruby : cannot see mysql file
Hi Guys, Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Internal Server Error: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- mysql but rpm...
View ArticleExclude dynamically modules from agent run
Hi there, I've got our puppet master for our ubuntu clients running - and it works great at this point! But now our users need a client script, which allows them to communicate through our...
View ArticlePassword change not working from puppet master to puppet agent
I have written a site.pp to change a password from the puppet master. Below is the site.pp. It is changing the password on agent host idrac-h868gm1, but when I try to login with the changed password...
View Article