[Puppet Users] puppet 8.x not starting service properly on Windows [2019/2022]

2024-01-16 Thread Rich Siegel
I am having an issue, where any version of puppet 8 refuses to start "most" times using service manager. I am installing puppet manually from msi, quietly, or through internal choco packages. It does not matter. If I run puppet agent interactively, then puppet runs fine on version 8, in fact

[Puppet Users] variable as a variable

2012-05-03 Thread Rich Siegel
Is it possible to do the following: define mydefine($hash) { notice("Heres an instance ${hash[instance]}") } $pathtohash = "\$module::params::hash01" #Then do: @mydefine { $name: hash => $pathtohash} It want it instantiate and peform equivlant to : @mydefine { $name: hash => $m

[Puppet Users] Re: variable as a variable

2012-05-03 Thread Rich Siegel
Most simple example $vari="\$modu:params::hash01" notice("$vari") How can I make the notice enumerate the value stored in vari, not show the string value as above. vari is a constant in this primitive example. -- You received this message because you are subscribed to the Google Groups "Puppe

[Puppet Users] Re: variable as a variable

2012-05-03 Thread Rich Siegel
i found the answer... in stdlib there is a getvar function. works a champ! thanks to Volcane on the #puppet channel -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscri

Re: [Puppet Users] Windows Puppet File Resource Getting Puppet Server's UNIX File Permissions

2013-01-20 Thread Rich Siegel
Permissions on the source should be irrelevant imho. Windows should always respect the destination inheritance, particularly if no mode is specified. Source perms are irrelevant imho. We need a proper permissions type and provider which can handle the ntfs acl style. Mode interpretation is jus

Re: [Puppet Users] Windows Puppet File Resource Getting Puppet Server's UNIX File Permissions

2013-01-23 Thread Rich Siegel
I am only speaking for windows permissions: > >> >> But if you push the directory with recurse => true, what permissions >> would files get in that case? Permissions of the file on the master, or >> default permission for that scope? >> > On Windows the answer is the permissions on the endpoi

Re: [Puppet Users] Puppet Support for Windows

2013-01-29 Thread Rich Siegel
Do you have any code on github? Perhaps we can collaborate. I am doing a bit of windows type and provider development currently (mostly learning how ;) I have a pendinga windows clustering provider, and a windows ad dns provider in the works. I have also wrote a chocolatey provider that we

[Puppet Users] Windows + Python Installation + pip + PATH environment variable

2013-03-12 Thread Rich Siegel
Have you tried changing your path via setx unattend? Programmatically changing it (a la the registry provider) won't take effect according to http://msdn.microsoft.com/en-us/library/ms682653%28v=VS.85%29.aspx You might also try forcing a child shell through running a sub cmd /k or similar mea

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

2013-03-12 Thread Rich Siegel
I believe you need to use the copy on github as there was an issue with using 32/64 dism iirc -- 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+unsub

Re: [Puppet Users] Re: Copying a 900 mb file to Windows !!!

2013-03-14 Thread Rich Siegel
I do it with an exec resource using PowerShell provider and get-webfile. Works well and fast. If interested I can post the implementation details. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receivi

Re: [Puppet Users] Re: Custom ensure instead of ensurable in type provider

2013-03-15 Thread Rich Siegel
Can you publish your work on github. I might be able to help it along. -- 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.

Re: [Puppet Users] Re: Copying a 900 mb file to Windows !!!

2013-03-15 Thread Rich Siegel
exec { 'dlfile': command => '. X:\tools\Get-WebFile.ps1 ; get-webfile http://myurl.com/file.zip c:\file.zip', provider => powershell } I am using the poweshell provider by Josh Cooper and get-webfile is on http://poshcode.com/3920 Tweak line 134 from 4096 to 1048576 to make it g

Re: [Puppet Users] Windows Reboot

2013-03-20 Thread Rich Siegel
My idea on reboots is different. I don't think we should have puppet do the reboot. If we go down this road, we need autologon, credentials, runonce, and a subsequent puppet agent run among other things. Not ideal if a puppet agent service is running during business time. This is orchestrat

[Puppet Users] Re: Still problem using Chocolatey provider on Windows

2013-03-24 Thread Rich Siegel
I have not tested chocolatey/puppet-chocolatey on Win8. Unfortunately I will not have a Win8 test environment up for at least a few weeks due to other priorities. On Friday, March 22, 2013 10:56:34 AM UTC-4, wernerbahlke wrote: > I got it to work on Windows 7. On Windows 8 it would not find t

[Puppet Users] Re: Windows Reboot

2013-03-24 Thread Rich Siegel
On Monday, March 11, 2013 7:55:46 AM UTC-4, jim wrote: > > Hi Guys > > I'm using puppet for my windows configuration, and was wondering when > installing / configuration something windowys, it requires a reboot, how > does this effect the "puppet run" > > e.g. join to domain ? > e.g. removing ol

[Puppet Users] Re: Installing Microsoft Visual Studio 2010 with Puppet?

2013-04-03 Thread Rich Siegel
A fellow maintainer of chocolatey has packaged it here i think based on public downloads: https://github.com/mwrock/Chocolatey-Packages I have not yet open sourced our choco repo but I can probably sanitize the vstudio package and publish it if you like . It won't work without having the bina

[Puppet Users] Re: Custom type and provider development

2013-04-06 Thread Rich Siegel
That's mine :). I haven't followed up on it. Don't even know if it works... :( when I start doing svc mgmt I am going to need it and like you, will need the multi version capabilities. It was more of a copy paste initial idea at this point... On a side note, off topic but windows relevant:

Re: [Puppet Users] Password policy for creating users manifest for puppet windows

2013-07-02 Thread Rich Siegel
I probably wouldn't use registry, since it feels hackish. If it is a domain joined pc I would use group policy and can support fine grain pw policies. No puppet required. If its a workgroup pc or you want to manage it locally instead of gpo: On reference computer--1.

[Puppet Users] how do you update packages on windows?

2013-07-05 Thread Rich Siegel
I use chocolatey provider, but that's because I wrote it :) Check out chocolatey on github, the provider is on the forge, and see if it meets your needs. Rismoney -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group a

[Puppet Users] Configuring a Windows Domain Controller (DC) using puppet

2013-09-06 Thread Rich Siegel
I wrote this for managing dns. https://github.com/rismoney/puppet-windns If you want to build a dc, dcpromo creates and uses a scripted unattended file.http://technet.microsoft.com/en-us/library/cc732887.aspx You could easily use an exec resource to run dcpromo. Use an unless param script to

Re: [Puppet Users] Re: Is it possible to install actual OS using puppet?

2013-09-12 Thread Rich Siegel
So I have done a full os install using baremetal on a seemingly harder platform- windows. https://github.com/rismoney/puppet-baremetal-windows Now windows has a lot of nuances so it should be easier in theory to do something similar starting from *nix. In essence I use a linux pxe server to bo

Re: [Puppet Users] Re: Is it possible to install actual OS using puppet?

2013-09-14 Thread Rich Siegel
> the Puppet code by which you achieve the OS installation is totally different > from what you would use to maintain any part of the installed system post > installation, via a client running on it? Yes but within our gitrepo, using the same tooling and contributions via the same workflow an

[Puppet Users] Re: [windows server 2008 r2] puppet errors in 3.3.0 on exchange database servers

2013-09-20 Thread Rich Siegel
Exchange DAG is essentially a cluster and the adapter in question the dag ip. My guess is the logic for adapters should be modded for when netconnectionid is not null. In general don't try to mess with hidden adapters on dags unless you understand ramifications. -- You received this message b

[Puppet Users] Re: [windows server 2008 r2] puppet errors in 3.3.0 on exchange database servers

2013-09-20 Thread Rich Siegel
Exchange DAG is essentially a cluster and the adapter in question the dag ip. My guess is the logic for adapters should be modded for when netconnectionid is not null. In general don't try to mess with hidden adapters on dags unless you understand ramifications. -- You received this message b

[Puppet Users] fileserving in parser function

2014-04-04 Thread Rich Siegel
In my loadcsv parser function I do (I stripped out all non-relevant parts) ``` require 'puppet/file/serving/configuration' # on windows this fails - path is the args[0]: # path = 'puppet:///modules/name/myfile.csv' content = Puppet::FileServing::Content.indirection.find(path) ``` just trying t

Re: [Puppet Users] fileserving in parser function

2014-04-08 Thread Rich Siegel
I am getting this error in rpec using the puppet gem 3.4.3 On Monday, April 7, 2014 10:43:38 AM UTC-4, Rob Reynolds wrote: > > Rich, > What version is the puppet agent? > > > On Fri, Apr 4, 2014 at 3:51 PM, Rich Siegel > > wrote: > >> In my loadcsv parser func

[Puppet Users] Re: New Powershell Desired Configuration Module

2014-09-15 Thread Rich Siegel
This is so AWESOME!! On Monday, September 15, 2014 5:19:12 AM UTC-4, Marc Sutter wrote: > > Hi all, > > Just wanted to let you know that I wrote a module for DSC. > This is a big help to configure Windows 2008+ boxes. > > https://forge.puppetlabs.com/msutter/dsc > > Cheers > Marc > > -- You rece