Hi
I am setting up first sandbox environment with Puppet and facing (probably)
config issue.
Any help is highly appreciated.
Setup covers two boxes:
- OS: RedHatEnterpriseServer 6.4
- Master node (ip-10-0-8-10) and Agent node (ip-10-0-8-11)
- Puppet version: 3.2.3
Two standard modul
There is no line 13 :)
Please, see the output below:
[me@ip-10-0-8-10 ~]$ cat /biz/puppet/modules/profile/manifests/web_server.pp
class profile::web_server {
class { "apache": }
}
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscri
In a simplified form, the issue occurs when "include" statement appears in
the script.
For instance, below script executes just fine without .
It still runs on the Master node (with warnings) with but
fails on Agent node:
/biz/puppet/hieradata/devbranch/site.pp:
node default {
include apache
Mike
Thank you for solution.
Perhaps it would be useful to people facing same issue - full instruction
set for CentOS looks like:
1. sudo vim /etc/selinux/targeted/contexts/files/file_contexts
Make sure that following line is there:
/etc/puppet(/.*)? system_u:object_r:puppet_etc_t:s0
2.
Hi John
Thank you for helping me.
Today I have fixed several configuration issues of Master's start-up (such
as SELinux warning, missing domain names, etc), however the problem with
<*include
apache*> persist.
To be on the safe side, I am running both Master and Agent from *sudo*. At
the sam
I think I have found the fix... and it looks a little bit magical... Ruby
made...
I was able to solve the problem by removing */etc/puppet/manifests *folder.
It was empty at the moment of removal, but later on gets recreated by
puppet.
Anyway - Agent finally works as expected.
Also I have comm
John
You are correct. I faced the same problems once the Hiera was uncommented.
While fixing them I had to address following open issues:
Pre-requisitions:
puppet.conf:
hiera_config = /biz/puppet/hiera/hiera.yaml
hiera.yaml:
---
:backends:
- json
:json:
:datadir: /biz/puppet/hieradata/%{::e
Alternatively, you can use two-step approach to install RPM located at
Puppet Master:
1. Copy the rpm file from Puppet Master to Puppet Agent
2. Install the rpm file on Puppet Agent from local path
This looks like following:
class ...{
...
package { 'python-boto':
ensure => installed,