[Puppet Users] Debian jessie, puppetlabs dist-upgrade problem

2014-04-20 Thread Mike R.
Using wheezy or unstable puppetlabs release, dist-upgrade wants to remove puppet and puppet-common to upgrade libruby. Anyone seen this? root@enigma:~# apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done

[Puppet Users] Puppet is not updating user passwords

2014-04-23 Thread Mike R
I can't get puppet to update the password for any users that I declare, this is my manifest: user {'test1': ensure => present, password => sha1('vagrant'), shell => '/bin/bash', } I also tried with the md5() function, and with raw password hash. I am on Ubuntu 12.04, using Puppet 2

Re: [Puppet Users] Puppet is not updating user passwords

2014-04-23 Thread Mike R
Thanks for the help Brian, I installed *libshadow-ruby1.8* however it still failed to update, however this time I ran in debug mode: *vagrant@precise64:/tmp$ sudo puppet apply --verbose --debug main.ppwarning: Could not retrieve fact fqdndebug:

[Puppet Users] Re: Puppet is not updating user passwords

2014-04-23 Thread Mike R
I tested on a different machine with a newer version of puppet (v 3.4.3) and it worked fine there :) /etc/shadow test4:$6$plwk1mgalbEBBF$ificPYixcMcaotnm8.aayRDa9GDgBp3OgbrFkkU1ZahT/BAf5JvIkR9WjJZNkhIVcsrFkGY/OAs5ZSMvd0Yl3/:16184:0:9:7::: -- You received this message because you are subscr

[Puppet Users] Does puppet allow Resource References of different types?

2014-06-03 Thread Mike R
I read the Puppet documentation regarding Resource References: http://docs.puppetlabs.com/puppet/latest/reference/lang_datatypes.html#resource-references I know Multi-Resouce references are allowed: file { 'some-a': ... require => File['file-b', 'file-c'] } However what if my resource d

[Puppet Users] Puppet Cheat Sheet - updated

2016-05-09 Thread mike r
new cheat sheet up, https://perfecto25.wordpress.com/puppet/puppet-cheat-sheet/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@google

[Puppet Users] Puppetserver crashes when using Code-Manager and file sync

2016-05-13 Thread mike r
env: PE2016.1, puppet 4.4.2 on Centos7x64 (VM), monolithic PuppetMaster VM has 6GB of RAM with 4 CPUs I recently setup and enabled Code Manager (Code Manager autoconfigur

[Puppet Users] Augeas help

2016-06-10 Thread mike r
Hello, Im tryign to use Augeas in my manifest to manage /etc/fstab file specifically I want to make sure my /etc/fstab file has the following line /tmp /tmp nodev,noexec 0 0 Augeas syntax is like learning Chinese, Im trying to make my manifest figure out whether 1) /etc/fstab has a line ^/tm

[Puppet Users] cached file in module

2016-07-07 Thread mike r
Hi all, Im writing a module that serves a shell script located in $basemodulepath/module/files/script.sh I recently had to update the shell script, but my agents are receiving the old version of the script. I checked the node's /opt/puppetlabs/puppet/cache but its not cached there. Cant find

[Puppet Users] Re: cached file in module

2016-07-07 Thread mike r
using PE 2016.1.2 (4.4.2) On Thursday, July 7, 2016 at 11:15:19 AM UTC-4, mike r wrote: > > Hi all, Im writing a module that serves a shell script located in > $basemodulepath/module/files/script.sh > > I recently had to update the shell script, but my agents are receiving the

[Puppet Users] File_line only if the file exists

2016-07-08 Thread mike r
Quick question, Im writing a module that makes sure file_line exists but cant figure out how to only apply this if the target file exists, heres the module so far $file = '/etc/modprobe.d/CIS.conf' file { $file : ensure => file, mode => '0600', owner => 'root', group => 'root', }

[Puppet Users] File_line help (regex?)

2016-07-19 Thread mike r
trying to make sure my grub conf file contains a string, cat /etc/default/grub GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" *GRUB_CMDLINE_LINUX="crashkernel=auto audit=1 rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet"* GRUB_DISABLE_RECOVERY="true" my manifest has this, $file

[Puppet Users] new CIS Benchmark compliance module for RHEL 7

2016-07-31 Thread mike r
testing welcome. thanks. https://forge.puppet.com/perfecto25/cis_rhel7 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com

[Puppet Users] Changes to module not picked up by agent

2016-08-18 Thread mike r
Im trying to run an Nginx module, my install.pp has the following line $agent_version = $::puppetversion # if $agent_version < 3.8 { #fail(" Node ${::fqdn} has a Puppet agent version: ${agent_version} which is not compatible with this module. Need to have minimum Puppet agent 3

[Puppet Users] Re: Changes to module not picked up by agent

2016-08-18 Thread mike r
Puppet 4.5.2 On Thursday, August 18, 2016 at 12:32:12 PM UTC-4, mike r wrote: > > Im trying to run an Nginx module, my install.pp has the following line > > > > $agent_version = $::puppetversion > > # if $agent_version < 3.8 { > #fail(" Node $

[Puppet Users] Re: Changes to module not picked up by agent

2016-08-18 Thread mike r
4.5.2 On Thursday, August 18, 2016 at 12:32:12 PM UTC-4, mike r wrote: > > Im trying to run an Nginx module, my install.pp has the following line > > > > $agent_version = $::puppetversion > > # if $agent_version < 3.8 { > #fail(" Node $

[Puppet Users] Razor bootstrap load timing out

2016-08-20 Thread mike r
Running Razor provisioning PE Master: Ubuntu 14.04, puppet 4.5.2 Razor on Centos 7 Razor Server version: 1.3.0.0 Razor Client version: 1.2.0 Configured the dnsmasq DHCP and TFTP and stocked /var/lib/tftpboot with the 2 files [root@razor tftpboot]# ls -la total 76 drw-r-xr-x. 2

[Puppet Users] Re: Razor bootstrap load timing out

2016-08-20 Thread mike r
|| goto error now its loading the kernel On Saturday, August 20, 2016 at 9:21:04 PM UTC-4, mike r wrote: > > Running Razor provisioning > > PE Master: Ubuntu 14.04, puppet 4.5.2 > Razor on Centos 7 > Razor Server version: 1.3.0.0 > Razor Client version: 1.2.0

[Puppet Users] Regenerated new master certs after alterning DNS aliases, Puppet Server not starting

2016-08-24 Thread mike r
Getting errors on checksums with DB I had to regenerate certs for master and agent and nodes after altering DNS aliases doesnt like the checksum at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64) ~[puppet-server-release.jar:na]

[Puppet Users] F5 Module - proxy server

2016-09-02 Thread mike r
Hello, quick question, when setting up the F5 module and setting up the proxy server that talks to F5 balancer, can this proxy be a Windows machine or are there any specific OS or system requirements for this proxy? -- You received this message because you are subscribed to the Google Groups "

[Puppet Users] Getting Yum errors for nginx install

2016-01-27 Thread mike r
running nginx module on centos 6.6 (only getting this error for centos 66, also tried centos 7 and ubuntu 12,14 and no errors,) wondering if anyone has seen this output. *Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install nginx' returned 1: Error: Nothing to do* *Error: /Stage[main]/Nginx::

[Puppet Users] Re: Getting Yum errors for nginx install

2016-01-27 Thread mike r
looks like issues w my repos.d, had to install sudo yum install epel-release On Wednesday, January 27, 2016 at 8:12:16 AM UTC-5, mike r wrote: > > running nginx module on centos 6.6 (only getting this error for centos 66, > also tried centos 7 and ubuntu 12,14 and no errors,) >

[Puppet Users] scheduling a Git repo sync on PE master

2016-02-02 Thread mike r
Hi everyone quick question, Im trying to update some files in my one of my modules/nginx/files based on a file located in some remote repo. My nginx module is distributing a HTML file to all managed nodes, and I need to make sure this HTML file is the latest commit from the remote repo. Im pul

[Puppet Users] Schedule Vcsrepo to sync local with remote

2016-02-03 Thread mike r
Hello everyone, Im trying to use vcsrepo to sync my PE Master files with a remote git repository I wanted to sync every 15 min in case there are new commits on remote. Is there a way to set vcsrepo to run on PE Master periodically without using a cron job? this is what my vcsrepo class looks

[Puppet Users] MCO fails to listen to puppetmaster AMQ

2016-04-01 Thread mike r
HI all, Im playing around with PE 4.2, trying to learn MCO architecture I have 1 PE master on Ubuntu with AMQ broker 1 test node running Centos7 with PE agent 1 test node running Centos 5.7 with Open source puppet agent first question, is it possible to enable the open source puppet agent to tal

[Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2016-04-07 Thread mike r
I had the same error trying to run DISM module on a Win2008 box, then I realized win2008 doesnt have dism, only 2008 R2. module is not compatible with target OS On Wednesday, March 6, 2013 at 8:42:10 AM UTC-5, jim wrote: > > Hello all > > Was wondering if someone could help or advise where i'm g

[Puppet Users] PE Puppet Server startup error - .git removed

2016-04-08 Thread mike r
Hi all, trying to startup my PE 4.2 server, its complaining about a .git missing from puppet-code from puppetserver.conf 2016-04-08 13:53:34,273 INFO [main] [o.e.j.u.log] Logging initialized @13448ms 2016-04-08 13:53:36,189 INFO [main] [p.t.s.w.jetty9-service] Initializing web server(s).

[Puppet Users] Re: PE Puppet Server startup error - .git removed

2016-04-09 Thread mike r
[root@puppetmaster3 production]# cat .git gitdir: /opt/puppetlabs/server/data/puppetserver/filesync/client/puppet-code.git/modules/environments/production[root@puppetmaster3 production]# On Friday, April 8, 2016 at 2:20:48 PM UTC-4, mike r wrote: > > Hi all, trying to startup my