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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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:
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.
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
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
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
> 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
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
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
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
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
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
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
27 matches
Mail list logo