Thank you!
And instead I see:
C:\Windows\system32>puppet resource service puppet
service { 'puppet':
ensure => 'stopped',
enable => 'true',
logonaccount => 'LocalSystem',
provider => 'windows',
}
so....my currrent code already has this:
'windows': {
service { 'puppet' : ensure => 'running', enable => true, }
}
I'll run puppet with debug and see what's happening...but basically, it
doesn't seem like its saving the state.
On Monday, May 23, 2022 at 3:17:03 PM UTC-4 [email protected] wrote:
> Open a power shell window and run `puppet resource service puppet` you
> should see something like this;
> PS C:\Users\Administrator> puppet resource service puppet
> service { 'puppet':
> ensure => 'running',
> enable => 'true',
> logonaccount => 'LocalSystem',
> provider => 'windows',
> }
> This will tell you if the service is running.
>
> On Monday, May 23, 2022 at 6:32:29 PM UTC+1 [email protected] wrote:
>
>> My current puppet.conf:
>>
>> [main]
>> certname=windowscw.example.com
>> server=puppet
>> autoflush=true
>> manage_internal_file_permissions=false
>> environment=development
>> runinterval=1800
>>
>> On Monday, May 23, 2022 at 1:17:57 PM UTC-4 [email protected] wrote:
>>
>>> I've been struggling to get puppet agent 7.12 to run by itself on
>>> windows 10. I'm watching for runs on the event viewer in Custom Views >
>>> Administrative Events.
>>> It seems that it will run dependably/independently if I
>>> 1) change the puppet.conf "runinterval=30m" to "runinterval=1800" AND
>>> 2) change Puppet Agent service to automatic AND
>>> 3) after I run it manually at least once.
>>>
>>> The problem is that I need it to run withOUT being run manually.
>>> Suggestions?
>>>
>>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/c8c344f5-8cac-47ba-a521-bc051f09a4ccn%40googlegroups.com.