Good day,
I am trying to add users to the local admin group but on a minimal list.
I have used the following code however it still throws errors if a local
account is added or a sid is unresolvable.
#Class Profile Server.admin group
class profile::windows::groups::server_admin {
if ($::role != '
Good day,
We were attempting to secure passwords appearing in files.
In the node manifest we changed
$password = lookup("user_cred.${username}.${domain_lookup}.password"))
to
$password = Sensitive(lookup(
"user_cred.${username}.${domain_lookup}.password"))
In the resources file it correctly reda
Thank you Josh,
I think the issue is wrong file permissions on the module in the forge.
All my other modules are fine.
Appreciate the confirmation on my initial thought.
On Tuesday, January 29, 2019 at 3:49:37 PM UTC-6, Josh Cooper wrote:
>
>
>
> On Tue, Jan 29, 2019 at 10:16 AM J
Good day,
I received the below error when running the lsp module by kpn from the
forge.
Error: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Failed to generate
additional resources using 'eval_generate': E
rror 500 on SERVER: Server Error: Permission denied -
/etc/puppetlabs/code/environme
ce => "$file_source /file.exe"
>}
> }
> else {
>exec { 'client_setup':
> command => 'Invoke-WebRequest "$$file_source/file.exe " -outfile
> "C:/Windows/dir/file.exe" ',
> provider => powershell,
> creates
-5, Michael Watters wrote:
>
> What you have there looks fine but I would change the elsif to an else
> statement.
>
>
> On Tuesday, September 11, 2018 at 8:08:53 AM UTC-4, Jason McMahan wrote:
>>
>> Good day,
>> I am attempting to add require to an if statement
Good day,
I am attempting to add require to an if statement and not sure i am doing
it right. Any help would be greatly appreciated.
If the machine is joined to our internal domain it will use a file
resource, if external i am using a invoke-webrequest as the file is on
azure blob storage.
d':
> command => 'udevadm control --reload-rules && udevadm
> trigger --subsystem-match=block',
> path=> ['/usr/sbin', '/usr/bin'],
> refreshonly => true,
> }
>
>
> for conte
Good day,
I am using the file resource to check if a file has changed or altered on
github.
the code i am using is
file { 'azure_udev_rule':
path => '/etc/udev/rules.d/66-azure-storage.rules',
ensure => 'file',
source =>
'https://raw.githubuserconten
Thank you for the prompt reply R.I.
I appreciate the help.
On Wednesday, May 23, 2018 at 8:46:32 AM UTC-5, R.I. Pienaar wrote:
>
>
>
> On Wed, 23 May 2018, at 15:16, Jason McMahan wrote:
> > Has anyone else run into the problem where an agent run gets stuck per
> say?
Has anyone else run into the problem where an agent run gets stuck per say?
We have found at times the agent runs could be stuck for multiple days.
I was trying to come up with an option that would automatically stop the
agent run if it lasted over 24 hrs per say so we dont have to go back to
se
t is not valid puppet DSL.
>
>
> Rob Nelson
> rnel...@gmail.com
>
> On Mon, May 21, 2018 at 2:07 PM, Jason McMahan > wrote:
>
>> Good day,
>> I am a bit confused.
>> I can go to the command line type
>> puppet resource package 'VMware Too
Good day,
I am a bit confused.
I can go to the command line type
puppet resource package 'VMware Tools' ensure=absent
and puppet will remove the package happily.
However i have the same exact code in my manifest and it complains at agent
run that it requires source.
Doesnt this seem a little
Is anyone using https://forge.puppet.com/shoneslab/winad
--
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
again.
Jason
On Tuesday, April 10, 2018 at 12:41:27 PM UTC-5, Jason McMahan wrote:
>
> Good day,
> I wanted to toss this out there to see if anyone has tried this.
>
> Could i perform a hiera lookup from within a custom puppet provider?
>
>
> My thinking is to lookup an
Good day,
I wanted to toss this out there to see if anyone has tried this.
Could i perform a hiera lookup from within a custom puppet provider?
My thinking is to lookup an encrypted password, then use the lookup to
decrypt and pass the username and password to a powershell that i need to
execu
hell module
> instead https://github.com/puppetlabs/puppetlabs-powershell?
>
> On Wed, Apr 4, 2018 at 2:09 PM, Jason McMahan > wrote:
>
>> Good day,
>> I am reviewing a type and provider and would like input or help to better
>> understand.
>>
>> The pr
Good day,
I am reviewing a type and provider and would like input or help to better
understand.
The provider is
require 'puppet/util'
Puppet::Type.type(:winad_group).provide(:powershell) do
confine :operatingsystem => :windows
defaultfor :operatingsystem => :windows
commands :power
Good day,
I am trying to get the module shoneslab/winad working in our environment.
I was able to modify (hack) the module so it actually creates a new group
as it should (using my user context, adding a param for service account and
password is my next trial) but every time it runs it wants to m
Has anyone recently used mod 'shoneslab-winad', '0.1.2'
We have added it our puppet puppetfile then created a manifest and applied
it to a node however it isnt working.
When and agent run is completed the following error occurs.
Error: Could not retrieve catalog from remote server: Error 500 on S
We use the windows disk facts module
at https://forge.puppet.com/dylanratcliffe/windows_disk_facts
That should give you what you want then you can use it within your
manifests.
On Tuesday, October 17, 2017 at 4:22:20 PM UTC-5, Ryan Murphy wrote:
>
> So I have the following powershell command th
Hello,
We are looking to remove our auto mounts from ldap and manage in puppet.
We have the puppet/autofs module.
One thing we would like to do is break auto mounts from all to specific.
For instance we do not want all servers to get oracle auto mounts however
they are in the same map file.
I agree with Trey, ours is very similar to his as well.
It works well when testing the latest Puppetdb for example.
On Sunday, October 15, 2017 at 8:07:41 AM UTC-5, treydock wrote:
>
> I think a combination of the two makes sense, and that's what we do. Our
> production masters have many enviro
Good day,
We were working on the lvm module from the forge and one item that came to
mind was the ability to dynamically retrieve the disks then determine which
ones may be used for Lvm.
For example sda,sdb,sdc are present. We would like to get the disk in an
array or hash possibly and remove o
Good day,
We are looking at managing our infrastructure in the dmz as we do our
internal nodes with puppet.
We are running multiple masters with foreman as our enc. R10k ensure the
manifests on all masters are updated regularly.
Does anyone have suggestion to integrate the dmz into our current l
Thank you Martin,
Still running into problems.
I must not be using correct certificate most likely.
Appreciate the response.
On Thursday, August 17, 2017 at 10:00:42 AM UTC-5, Martin Alfke wrote:
>
>
> > On 17 Aug 2017, at 14:23, Jason McMahan > wrote:
> >
>
Good morning,
We installed a puppet agent on our citrix mgmt servers.
The problem became that the way it is done a golden image is used,
server_dev. Once sealed that spins off multiple other servers for stage and
prod environments.
We want to know about the servers, ensure they are in configura
Thank you for confirming my suspicion Josh.
On Wednesday, May 17, 2017 at 11:09:14 AM UTC-5, Josh Cooper wrote:
>
>
>
> On Wed, May 17, 2017 at 5:34 AM, Jason McMahan > wrote:
>
>> The full error is
>>
>> Error: Failed to call
>> #::NewWorkItem
>
#::New
WorkItem with HRESULT: -2147024893.: The system cannot find the path
specified.
The folder exists but the task is not created nor seen.
I believe i may just need to create it in the root but would like
verification.
Thank you
On Tuesday, May 16, 2017 at 6:59:17 PM UTC-5, Jason
Good day,
We were using the scheduled_task resource to create a task. It creates the task
however we nwed to create the task in a folder under task scheduler.
\automation\inventory
We tried name => '\automation\inventory\
But at run says can not find path.
We looked at working_dir but that didn'
5:04 private
drwxr-x---. 2 puppet puppet 4096 Apr 25 17:41 private_keys
drwxr-xr-x. 2 puppet puppet 4096 Apr 25 17:41 public_keys
In our code it shows the limited changes we are making.
Thank you
On Tuesday, April 25, 2017 at 12:34:42 PM UTC-5, Jason McMahan wrote:
>
> Has anyone else used t
, April 26, 2017 at 6:00:06 AM UTC-5, Dominic Cleal wrote:
>
> On 25/04/17 18:34, Jason McMahan wrote:
> > Has anyone else used the foreman puppet module to create a new formean
> host?
> > We used the module, created the host, and manually added it to our f5
> > but odd
Has anyone else used the foreman puppet module to create a new formean host?
We used the module, created the host, and manually added it to our f5 but
odd things show up.
If i go to https://foreman.com (load balancer) go to infrastructure > smart
proxy > click on puppetca host and look at certif
I am sorry i do not quite catch your meaning Rob.
Could you please explain?
Thank you
On Tuesday, February 28, 2017 at 9:26:01 PM UTC-6, Rob Nelson wrote:
>
> If you're using a control repo, you can change the catalog version number
> from seconds since epoch to git commit hash, which should all
Good day,
I was wondering if others could offer their thoughts, advice?
We would like to tag any new servers built with a build version, and tie
that build version to all modules that were used for building it?
For instance if i built server test1 and it was tagged with
build.2_28_2017_1.0 we c
Good day,
We are using the puppetlabs-registry module and would like to know is it
possible to replace specific string with in a registry key then write it
back?
For example if i wanted to set the following firewall rule (and i know
there are modules, but would this is the best example i could
Good day,
I am attempting to create a profile manifest for installation of one of our
windows applications.
The application upon install creates multiple services and equivalent exe.
The current structure we use is as shown below
class profile::application {
## Install application package
packa
forth easily but requires roughly 18gb os disk.
Thank you and have a great night.
On Wednesday, November 9, 2016 at 3:01:36 PM UTC-6, Akai wrote:
>
> Am Mittwoch, 9. November 2016 18:49:35 UTC+1 schrieb Jason McMahan:
>>
>>
>> Error: Could not retrieve catalog from rem
Good day,
We are attempting to minimize our template size, to do this we create a
windows 2012r2 core template.
However we will need to convert from core > minimal > gui and or back or
forth.
Our first thought is to copy the wim to the a directory on the template.
C:\install\install.wim
t
Good day,
I was wondering what others are doing to illustrate when a class is loaded
during debug mode?
I know when you run a puppet agent -t --debug it shows the info: loading
facts for instance.
Does everyone use notice then what you want to say?
Thank you for any help.
--
You received this
I am new to puppet, and git but I had a question surrounding the module
puppetlabs/motd
When I use this module for my windows servers the spacing is messed up and
the motd looks jagged per say.
*
hello world * (this should have like 4 trailing white spaces for
example)
I have been thinking about this for a time and really feel this should be
an easy question, hoping I am just over thinking.
If I would like to automate the install of puppet agent on a windows server
am I required to provide puppet_server and puppet_ca_server?
I thought msiexec /qn /norestart /
Good day,
We are working on a fresh roll out of puppet o our company.
We created a module to install an application but we quickly realized the
application is not appearing in add remove programs.
It was soon apparent that we could not check for the package name if it
does not appear there.
Does
43 matches
Mail list logo