[Puppet Users] Puppet on Windows - client installer?

2012-01-26 Thread jmp242
I've been watching Puppet on Windows and may be interested in trying it out - our Linux team is already working with it in a pilot... The issue I see is it doesn't seem to have a msi or exe I could install on client computers, instead it looks like it'd need a ruby environment installed to get star

[Puppet Users] File resource fails on Windows 7 x64 (other resources with different file works)

2014-02-07 Thread jmp242
I'm really lost as to why this is failing. file{ 'openvpn.exe': path => 'C:/ProgramData/puppetfiles/openvpn.exe', source => "puppet:///modules/openvpn/openvpn.exe", owner => 'SYSTEM', group => 'Administrators', mode => 0770, provider => windows, ensure => present, } gives me this error: Replac

Re: [Puppet Users] File resource fails on Windows 7 x64 (other resources with different file works)

2014-02-18 Thread jmp242
relevant results? We have some recent fixes related > to this. > > > On Thu, Feb 6, 2014 at 3:27 PM, jmp242 >wrote: > >> I'm really lost as to why this is failing. >> >> file{ 'openvpn.exe': >> path => 'C:/ProgramData/puppetfiles/op

[Puppet Users] apache / passenger how do you update puppet on the server in EL6.4?

2014-02-18 Thread jmp242
I've got a working puppet on apache / passenger on EL6.4. However, ever since updating the puppet client on computers to 3.4.2, I get notices that I'm using insecure YAML and should upgrade the server to 3.3 or newer. How do I do this? rpm -qa puppet-server shows puppet-server-3.4.2-1.el6.noarch

Re: [Puppet Users] File resource fails on Windows 7 x64 (other resources with different file works)

2014-02-18 Thread jmp242
; On Tue, Feb 18, 2014 at 1:06 PM, jmp242 >wrote: > >> Puppet 3.4.2, as specified. I've attached a log file. >> >> >> >> >> On Friday, February 7, 2014 12:35:32 PM UTC-5, Rob Reynolds wrote: >> >>> First question - what version of puppet?

Re: [Puppet Users] File resource fails on Windows 7 x64 (other resources with different file works)

2014-02-18 Thread jmp242
27;ve recently fixed that issue and it > will be in the next release. I'm not sure these are the same issues, > however. > > > On Tue, Feb 18, 2014 at 1:54 PM, jmp242 >wrote: > >> As far as I can tell. I'm on Windows, and it scrolls off the screen. It >&g

Re: [Puppet Users] apache / passenger how do you update puppet on the server in EL6.4?

2014-02-20 Thread jmp242
; > On Tue, Feb 18, 2014 at 11:32 AM, jmp242 >wrote: > >> I've got a working puppet on apache / passenger on EL6.4. However, ever >> since updating the puppet client on computers to 3.4.2, I get notices that >> I'm using insecure YAML and should upgrade the s

[Puppet Users] Re: apache / passenger how do you update puppet on the server in EL6.4?

2014-02-21 Thread jmp242
And to fully close this out - I ended up with a strange configuration going from Foreman 1.1 -> 1.4 and Puppet 3.1.x -> 3.4.2... In Passanger.conf Change: PassengerRuby /usr/bin/ruby193-ruby To: /usr/bin/ruby And in the virtual host definitions add: PassengerRuby /usr/bin/ruby193-ruby

[Puppet Users] Trying to deploy / update logmein on Windows 7x64 with Puppet 3.4.3, getting error

2014-04-07 Thread jmp242
So I'm trying to do this: file {'logmein.msi': path => 'C:/ProgramData/puppetfiles/logmein.msi', source => "puppet:///modules/logmein/LogMeIn.msi", owner=> 'SYSTEM', group=> 'Administrators', mode => 0770,

[Puppet Users] Re: Trying to deploy / update logmein on Windows 7x64 with Puppet 3.4.3, getting error

2014-04-08 Thread jmp242
The file resource is working fine, so I seriously doubt it would be 1). On 2) are you suggesting source_permisisons => ignore so "On Windows, Puppet will use the default DACL associated with the user it is running as"? I can try, but again, I use the same template, with the same permissions in

[Puppet Users] Open puppet port(s) to the internet

2014-06-17 Thread jmp242
I probably don't really understand much about how puppet connects to the clients, but is there a big security risk about opening it up to the internet so laptops can get their configuration... If it's "safe enough" for any value of safe, what ports does it use? Thanks, -- You received this me

[Puppet Users] Migrate from config file environments to directory environments

2014-10-01 Thread jmp242
Ok, I use TheForeman, and recently updated from puppet 3.4.3 to 3.7.1. I also updated TheForeman to 1.6.0. I have had config file environments. One wrinkle was I had modules as $confdir/environments/dev - and all the modules are under here, no sub modules dir. I tried to migrate to directory

[Puppet Users] Re: facter error message - what does this mean?

2014-10-01 Thread jmp242
I also see this on 3.7.1... Same symptoms. On Wednesday, September 24, 2014 8:16:54 AM UTC-4, JonY wrote: > > I'm seeing this error appear on a client machine (/var/log/syslog): > > puppet-agent[17158]: Failed to apply catalog: Could not retrieve local > facts: Invalid facter option(s) type > >

[Puppet Users] Re: facter error message - what does this mean?

2014-10-01 Thread jmp242
And here's the trace=true output: Oct 1 13:04:16 lnx7179 puppet-agent[18029]: Local environment: "production" doesn't match server specified node environment "dev", switching agent to "dev". Oct 1 13:04:17 lnx7179 puppet-agent[18029]: Could not retrieve local facts: Invalid facter option(s) t

[Puppet Users] Re: facter error message - what does this mean?

2014-10-01 Thread jmp242
Ok, thanks, it turns out restarting the puppet service fixes this error. -- 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.co

[Puppet Users] Re: Migrate from config file environments to directory environments

2014-10-01 Thread jmp242
Ok, so some more reading, and ignoring what seemed to be wrong one liners in the documentation, I found out I needed to have the setup like this: environment/modules environment/manifests environment/manifests/site.pp <- which I did need some settings in, namely Package { allow_virtual =>

[Puppet Users] Re: Best way to deploy the Puppet client to a large set of Windows servers?

2014-10-10 Thread jmp242
Do you have Active Directory? You could use group policy to deploy the msi. We used psexec way way back to bootstrap our deployment tool, so of course I just used it to deploy puppet. On Windows, puppet is ok, but not the best deployment tool IMHO, so we still use Fusion Inventory for that (it u

[Puppet Users] Re: Writing modules to gracefully skip OS's they don't support

2014-10-10 Thread jmp242
I may be doing something really stupid per Felix.Frank, but we decided to make all our modules have: Case $kernel { 'linux': { } 'windows'{ } } form... It seems to work well for us? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group

[Puppet Users] Schedule confusion with shutdown module on Windows 7

2016-11-15 Thread jmp242
I'm using Puppet to help some third party updates happen on my fleet of Windows 7 computers. Part of that is rebooting if there is a reboot pending before trying to install third party updates to try and sidestep the 1603 MSI errors. I have a schedule when this can happen. schedule { 'standard_

[Puppet Users] Re: Schedule confusion with shutdown module on Windows 7

2016-11-15 Thread jmp242
I should also say I'm on Puppet 3.8.7. On Tuesday, November 15, 2016 at 11:19:53 AM UTC-5, jmp242 wrote: > > I'm using Puppet to help some third party updates happen on my fleet of > Windows 7 computers. Part of that is rebooting if there is a reboot pending > before t

[Puppet Users] On Windows - using a resource from a different class

2017-05-09 Thread jmp242
Not sure - maybe this is a horrible idea, but I've got a package I'm using that would ideally use the same reboot resource as all my other packages, but in this case is in it's own class because there are several steps that are more complicated than just applying the package. On many VMs and tes

[Puppet Users] Windows directory management - weird permission error

2017-05-10 Thread jmp242
I'm trying to manage a directory: unless $inventorusers == undef { $inventorusersArray = split($inventorusers, ',') inventor::userworkspace { $inventorusersArray: require => File[ 'VaultWorkspace'], } inventor::designdata { $inventorusersArray: require => File[ 'VaultWorks

[Puppet Users] Service set to stopped causes error when the service doesn't exist on Windows

2017-06-22 Thread jmp242
I want to make sure Firefox isn't automatically updating itself on our Windows computers. In most instances, if I have a service set to stopped, not having it installed should equal the same thing. How could I express either is OK in Puppet? service { 'FirefoxUpdateService': name

[Puppet Users] How does 'repeat' default of 1 for a schedule work regarding the reboot module?

2017-07-18 Thread jmp242
So I am seeing the reboot loop per the docs on Windows due to pending file renames. I thought I would work around this by relying on the schedule default: repeat How often a given resource may be applied in th

[Puppet Users] windows 10.0.14393 ACL module error

2017-08-31 Thread jmp242
I'm using Puppet-agent 1.10.4 on Windows 10. I'm having a problem with applying a ACL using the latest 1.1.1 module, but I'm having an issue, specifically with applying to a folder: Could not evaluate: Failed to set security descriptor for path 'C:/Program Files/VcXsrv/fonts/dejavu': undefined m

[Puppet Users] puppet 5 upgrade seems to have caused multiple 500 error on server with file resources (to Windows clients)

2018-01-16 Thread jmp242
We serve multiple file resources depending on configuration via puppet to Windows 7 and Windows 10 workstations using FLOSS puppet. This was working with puppet agent 1.10.4 on clients and with puppet server (and foreman fwiw) 4 on Scientific Linux 7.4. Since we upgraded puppet server to 5.late

Re: [Puppet Users] puppet 5 upgrade seems to have caused multiple 500 error on server with file resources (to Windows clients)

2018-01-17 Thread jmp242
Thanks. How often should we run environment isolation? When we deploy new modules that have different parameters? On Tuesday, January 16, 2018 at 7:16:53 PM UTC-5, Josh Cooper wrote: > > > > On Tue, Jan 16, 2018 at 11:08 AM, jmp242 > > wrote: > >> We serve multiple

Re: [Puppet Users] puppet 5 upgrade seems to have caused multiple 500 error on server with file resources (to Windows clients)

2018-01-26 Thread jmp242
Any idea when the puppet server 5.1.5 will be released as referenced in that bug report? On Tuesday, January 16, 2018 at 7:16:53 PM UTC-5, Josh Cooper wrote: > > > > On Tue, Jan 16, 2018 at 11:08 AM, jmp242 > > wrote: > >> We serve multiple file resources depending

[Puppet Users] Puppet 5 tests of forked module gives errors

2018-02-16 Thread jmp242
So I originally conflated 2 different issues, and the one was fixed with the bugfix referenced in my previous thread. So this one is still happening. I have an updated module to test (a forked reboot module) which I have deployed in my dev environment and code to use the new parameter, however

Re: [Puppet Users] Puppet 5 tests of forked module gives errors

2018-02-19 Thread jmp242
t; > Have a look at > https://puppet.com/docs/puppet/5.3/environment_isolation.html#generate-types > and the surrounding docs. > > On Fri, Feb 16, 2018 at 8:42 PM jmp242 > > wrote: > >> So I originally conflated 2 different issues, and the one was fixed with >> t

[Puppet Users] Running a command on Windows only if the exe exists

2018-03-16 Thread jmp242
exec { 'Lenovo System Update': command => '"C:\Program Files (x86)\Lenovo\System Update\tvsu.exe" /CM', onlyif => 'if exist "C:\Program Files (x86)\Lenovo\System Update\tvsu.exe" exit 0 else exit 1', timeout => 10800, } The problem is apparently that onl

[Puppet Users] Updated manifest, now get Failed to apply catalog: "\xF8\xDD" on UTF-16LE on Windows

2018-03-26 Thread jmp242
I'm using puppet 5.3.3 and had been using a previous version of my module for a long time. Now I added another package to my management and started getting an odd error: Failed to apply catalog: "\xF8\xDD" on UTF-16LE The actual underlying chocolatey packages install correctly. Any ideas what t

[Puppet Users] Re: Updated manifest, now get Failed to apply catalog: "\xF8\xDD" on UTF-16LE on Windows

2018-04-18 Thread jmp242
to encoding UTF-8 due to # Debug: Storing state Debug: Stored state in 0.08 seconds Error: Failed to apply catalog: "X\xDC" on UTF-16LE Notepad++ shows the manifests used here (as far as I'm able to tell) are both UTF-8... On Tuesday, March 27, 2018 at 9:16:17 AM UTC-4, jcbollinge

[Puppet Users] Way to schedule package installs with some complicated logic

2015-06-03 Thread jmp242
If I want to install packages only Monday 10PM-3AM or Tuesday 10AM-Noon, unless a (external fact provided by another system) is true, what might be the best way to do that? Do I need to create 2 schedule resources, 2 package resources each with a different schedule, but otherwise the same (mayb

[Puppet Users] Forge domain_membership module -how do you use it?

2015-07-01 Thread jmp242
I'm probably being stupid, but all previous modules I've used create a new resource you can then use in your manifests. The example for this seems to be a class? So do I edit the init.pp it comes with to give domain details? https://forge.puppetlabs.com/trlinkin/domain_membership/readme If not,

[Puppet Users] Windows basic file permission error on some computers

2015-07-28 Thread jmp242
I'm using basic file permissions with puppet 3.8.1 on Windows 7 x64. I've got a resource: file { 'chocolatey.config': path=> "C:/ProgramData/chocolatey/config/chocolatey.config", content => template('yum/chocolatey.config.erb'), owner => 'SYSTEM', group => '

[Puppet Users] Managing Chocolatey sources with File resource and Template on Windows 7 x64 SP1

2015-09-01 Thread jmp242
So I'm using Puppet 3.8.1 on Windows 7 x64 and managing a configuration file using a template. file { 'chocolatey.config': path=> "C:/ProgramData/chocolatey/config/chocolatey.config", content => template('yum/chocolatey.config.erb'), owner => 'SYSTEM', group

Re: [Puppet Users] Managing Chocolatey sources with File resource and Template on Windows 7 x64 SP1

2015-09-04 Thread jmp242
64 bit. -- 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. To view this discussion on the web visit https://groups.googl

Re: [Puppet Users] Managing Chocolatey sources with File resource and Template on Windows 7 x64 SP1

2015-09-15 Thread jmp242
at 2:26:38 PM UTC-4, Rob Reynolds wrote: > > Can you take a look at your line endings in the template file? And then > determine what the line endings are in the actual chocolatey.config after > choco.exe runs? > > On Fri, Sep 4, 2015 at 8:25 AM, jmp242 > > wrote: >

[Puppet Users] Puppet 3.8.1 on Windows 7 x64 SP1 error with file resource

2015-09-23 Thread jmp242
I cannot test this easily as it seems to only happen when the puppet service runs. It does not happen when run interactively as an administrator. Once an administrator does a 'puppet agent -t' the issue does not recur for some time, perhaps until the computer reboots for Windows Updates. Here i

[Puppet Users] Puppet 2.8.1

2015-09-23 Thread jmp242
Ah ha, that's new not needing that set. Thanks! -- 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. To view this discussio

[Puppet Users] Forge ACL Module 1.1.1 on Windows 7 x64 SP1

2015-09-24 Thread jmp242
So per my previous post, I'm now trying to replace the file POSIX permissions with ACLs. I'm apparently missing something though. I want to replicate what I had before in the new supported method, i.e.: owner => 'SYSTEM', group => 'Administrators', mode=> '0775',

Re: [Puppet Users] Forge ACL Module 1.1.1 on Windows 7 x64 SP1

2015-09-25 Thread jmp242
t;execute" ], affects => 'self_only' }, { identity => 'Everyone', rights => ["read", "execute"], affects => 'self_only' } ] to [ { identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => &

[Puppet Users] Re: Forge ACL Module 1.1.1 on Windows 7 x64 SP1

2015-09-25 Thread jmp242
I tried with the simplified version: Enter code here... acl { 'chocolatey.config': target => 'C:/ProgramData/chocolatey/config/chocolatey.config', permissions => [ { identity => 'SYSTEM', rights => [ 'full'] }

[Puppet Users] Re: Forge ACL Module 1.1.1 on Windows 7 x64 SP1

2015-09-28 Thread jmp242
And I removed the "target" and put it in the ACL name as you showed, and get the same error. On Friday, September 25, 2015 at 2:31:43 PM UTC-4, jmp242 wrote: > > I tried with the simplified version: > Enter code here... acl { 'chocolatey.config': > t

Re: [Puppet Users] Re: Forge ACL Module 1.1.1 on Windows 7 x64 SP1

2015-09-29 Thread jmp242
{ exit 1}', provider => powershell, } file { 'chocolatey.config': path=> "C:/ProgramData/chocolatey/config/chocolatey.config", content => template('yum/chocolatey.config.erb'), ensure => presen

Re: [Puppet Users] Re: Forge ACL Module 1.1.1 on Windows 7 x64 SP1

2015-10-01 Thread jmp242
How are you installing these > modules by the way? > > On Tue, Sep 29, 2015 at 2:43 PM, jmp242 > > wrote: > > Sure, that's perhaps misleading a little - our internal custom puppet > module is called yum as it was created for EL6 first. When we got a package > manag

Re: [Puppet Users] Managing Chocolatey sources with File resource and Template on Windows 7 x64 SP1

2015-10-02 Thread jmp242
and always with the same to hashes. We're running client > version 3.8.3 and both x86 and x64 versions are experiencing the same > error. Jmp242 did you file a bug report on this? > I compared the file before and after in Notepad++ that said it was > identical so I made a nother c

Re: [Puppet Users] Re: Forge ACL Module 1.1.1 on Windows 7 x64 SP1

2015-10-15 Thread jmp242
I will try 1.8.3 to see if it makes a difference. Because I use Foreman, I can't go to Pupept 4 yet... On Thursday, October 15, 2015 at 12:27:34 AM UTC-4, Rob Reynolds wrote: > > > > On Thu, Oct 1, 2015 at 8:09 AM, jmp242 > > wrote: > > Puppet 3.8.1 on Windows

Re: [Puppet Users] Re: Forge ACL Module 1.1.1 on Windows 7 x64 SP1

2015-10-15 Thread jmp242
The update to puppet 3.8.3 seemed to fix my problem. So now to upgrade puppet. On Thursday, October 15, 2015 at 8:54:59 AM UTC-4, jmp242 wrote: > > I will try 1.8.3 to see if it makes a difference. Because I use Foreman, I > can't go to Pupept 4 yet... > > On Thursday, Octob

Re: [Puppet Users] Re: Forge ACL Module 1.1.1 on Windows 7 x64 SP1

2015-10-19 Thread jmp242
, 2015 at 8:09 AM, jmp242 > > wrote: > > Puppet 3.8.1 on Windows currently. puppet module list doesn't return > anything for me. I'm downloading the zip file and unzipping the module into > a folder. I then copy the folder into my local dev modules directory using >

Re: [Puppet Users] Re: Forge ACL Module 1.1.1 on Windows 7 x64 SP1

2015-11-09 Thread jmp242
at 1:32:07 PM UTC-5, Rob Reynolds wrote: > > > > On Mon, Oct 19, 2015 at 10:10 AM, jmp242 > > wrote: > > Hmm, so on one test computer, the upgrade to puppet 3.8.3 fixed the issue. > On the second test computer, it didn't - everything remains the same, but > getting

Re: [Puppet Users] Re: Forge ACL Module 1.1.1 on Windows 7 x64 SP1

2015-11-10 Thread jmp242
seems like there is some issue with a certain permissions set that causes me issues with ACL module. Specifically, the original file doesn't have any user permissions set. I'm wondering if that is the issue? On Monday, November 9, 2015 at 3:22:11 PM UTC-5, jmp242 wrote: > > Ok,

[Puppet Users] Creating module structure with Foreman that removes settings when a module no longer applies (like GPOs)

2016-02-05 Thread jmp242
I'm thinking about this, and it may be a total waste of time, but occasionally we want to change the configuration of an existing computer. We could totally re-image the computers, but that seems like it might be a big time sink compared to resetting when the hostgroup changes. It also seems li

[Puppet Users] Remove scheduled task on Windows 7 x64 SP1 with Puppet 3.8.3

2016-04-07 Thread jmp242
I want to delete or at least disable certain scheduled tasks via Puppet. scheduled_task { 'Lenovo Customer Feedback Program 64': ensure => absent, } Doesn't seem to do anything - the tasks are still there in the Task Scheduler GUI and puppet doesn't give a notice or error. schedu

[Puppet Users] Puppet Sever 6 upgrade on Enterprise Linux 7.6 issue

2019-03-04 Thread jmp242
I've upgraded from puppetserver 5, and after doing so I've gotten an error trying to clean a certificate. Per the "new method", I've tried puppet node clean fqdn This worked, for this node, before the updated with puppetserver 5. However, after the update I now get an error: puppet node clean

Re: [Puppet Users] Puppet Sever 6 upgrade on Enterprise Linux 7.6 issue

2019-03-05 Thread jmp242
requires your server to be offline). If you don't or can't generate a ca > client cert you can add an explict certname that you want to be your > ca-client to the "allow" blocks in the tk auth.conf. > > See: https://puppet.com/docs/puppet/6.3/puppet_server_ca_

[Puppet Users] How do I turn off file backup for rsync module?

2019-11-13 Thread jmp242
I am creating a large rsync, and in this one case, I don't want puppet doing file backup. rsync::get { '/opt/large_rsync': source => "/nfs/opt/mylargefileset", before => File['/opt/resource'], backup => false, } doesn't work... Is there a way short of disabling fil

[Puppet Users] Managing a local users password with puppet on EL7

2019-11-14 Thread jmp242
I'm not sure what's going on, but when I try and log in to XFCE using the local user account, I just get "Something went wrong". I've verified the password - but I wonder if I'm misunderstanding the puppet docs on the hashing, because it's obvious the password I have isn't working. My line cr

[Puppet Users] Re: Managing a local users password with puppet on EL7

2019-11-14 Thread jmp242
Sorry, the second one is also wrapped with Sensitive() Sensitive(pw_hash('$password', 'SHA-512', 'oursalt')), -- 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

Re: [Puppet Users] Managing a local users password with puppet on EL7

2019-11-15 Thread jmp242
So, I set the password manually with passwd and got an entirely different hash than when I use the pw_hash function. The salt is obviously different as well, but the rest of /etc/shadow entry is the same. ssh user@localhost works with the password when I set manually with passwd, and does not wo

Re: [Puppet Users] Managing a local users password with puppet on EL7

2019-11-15 Thread jmp242
9 at 8:55:57 AM UTC-5, Bart-Jan Vrielink wrote: > > Hello, > > > I'm still puzzled by why this is not working on your system. The following > works for me on a Centos7 machine: > > > user { 'testuser': > ensure => 'present', &g