.xml.erb'),
> }
> }
>
> $icecast_clients = hiera('icecast_clients')
> create_resources(icecast_client, $icecast_clients)
>
> You could use hiera_hash if you wanted to merge multiple levels of your
> hierarchy.
> You could also use the cid in place o
Hi all,
I've started testing with using Hiera for storing configs and I have a
noobish question.
Here's an example of my yaml file (/etc/puppet/hieradata/vertname.yaml):
---
#icecast
type: vanilla
client1:
cid: 999
cid_hostname: icecast1
cid_ipaddress: 192.168.254.12
password: WhatYoSay
LOL - or I could just use one of the 2 vsftpd modules on puppetforge... I
never *intend* to do things the hard way. :)
Greg
On Tuesday, September 24, 2013 9:32:53 AM UTC-7, Greg Coit wrote:
>
> I've decided to not be blocked by this issue and to have puppet manage the
> conf
I've decided to not be blocked by this issue and to have puppet manage the
config file. It's not an ideal solution, but good enough until I learn
more about either augeas or inifile.
Greg
On Monday, September 23, 2013 3:48:05 PM UTC-7, Greg Coit wrote:
>
> Nathan,
>
> T
Nathan,
Thanks for the response - I did not know about inifile.
I unfortunately seem to be having trouble with ini_setting - the following
causes a new line to be added every time puppet gets run:
ini_setting { 'anonymous_enable':
path=> '/etc/vsftpd/vsftpd.conf',
setting => 'anon
Hello,
I'm trying to learn how to use augeas in puppet. One of the packages we
have puppet installing is vsftpd. Rather than putting the vsftpd conf file
in puppet (in case the config file is updated by the upstream maintainers)
I'd like to use augeas to make sure the correct lines exist in t
Steven,
That seemed to do the trick - thanks!!!
Greg
On Thursday, September 12, 2013 4:30:33 PM UTC-7, Steven wrote:
>
> I don't know about the module you are using but things to verify:
> /etc/sudoers contains an include for /etc/sudoers.d
> Check that the version of sudo is new enough to suppo
Hello,
Does anyone have an example of using the arnoudj/sudo module in a mixed
environment with both CentOS 5 and 6? So far, my CentOS 6 servers are
happy but my CentOS 5 servers are ignoring everything in /etc/sudoers.d/
Thank in advance!
Greg
--
You received this message because you are s
Nathan,
It was spun up by hand from a CentOS 6.4 disk. I added the grover
lines to the /etc/hosts file myself after setting the hostname.
Greg
--
Greg Coit
gregc...@gmail.com
707-845-0317
On Tue, Sep 10, 2013 at 12:34 PM, Nathan Valentine
wrote:
> Out of curiosity, your Puppet master
Man, I could have swear i tested this...
/etc/sysconfig/network was correct.
/ets/hosts had:
ip grover grover.example.com
I switched that to:
ip grover.example.com grover
and the cert is now named grover.example.com. :)
Thank you!!!
Greg
On Tuesday, September 10, 2013 12:16:12 PM UTC-7,
Hi all,
I have a new puppet server named grover.example.com. I've set both
the server and certname to grover.example.com in /etc/puppet/puppet.conf
(this is CentOS 6.4). I've also verified the hostname:
hostname:
grover.example.com
However, when I start puppetmaster, it always created a cert
fail("Unrecognized timezone $timezone")
> }
>
> class { 'ntp':
> server => $my_ntp_servers,
> }
> }
>
> If I were you, I would put the timezone logic outside.
>
> Hope this time I'm correct.
:
> case $timezone {
> 'PDT': {
> servers = [ '0.us.pool.ntp.org', '1.us.pool.ntp.org', '
> 2.us.pool.ntp.org', '3.us.pool.ntp.org'] }
> default: {
> fail("Unrecognized timezone $timezone&qu
Hi all,
I'm using the puppetlabs/ntp module and would like to define the ntp
servers based on the fact timezone:
#ntp
class { '::ntp':
case $timezone {
PDT: { servers => [ '0.us.pool.ntp.org', '1.us.pool.ntp.org',
'2.us.pool.ntp.org', '3.us.pool.ntp.org'], }
default: { fail("
Benjamin,
That was it - thank you
Greg
On Wednesday, September 4, 2013 2:04:17 PM UTC-7, Ben Carrell wrote:
>
> The ulimit command is a shell builtin, try using "/bin/bash -c ulimit -n"
>
> --
> Benjamin Carrell
>
>
> On Wed, Sep 4, 2013 at 2:54 PM
Hello,
I've setup a puppet master server and a couple of clients for testing
purposes. Everything's going pretty well but I'm having trouble with
creating a custom fact.
I'm using the open source version of puppet on Centos 6.4. In the file
/etc/puppet/modules/linux/lib/facter/ulimit.rb, I h
16 matches
Mail list logo