You'll have to use the localhost target inside a loop in a plan for that.
get_targets($targets).each |$t| {
run_script('myscript', 'localhost', arguments => [ $t.host ])
}
If you convert the script into a task you can use run_task_with to
parallelize it but it's probably easier to just write a
On Tue, Feb 11, 2020 at 7:24 AM Shirish Shukla
wrote:
> What about if puppet agent not installed on target
> Is there any way we can use epp file
>
There are a few options
- You can target localhost for the apply to create the file locally and
then use upload_file to copy it.
- You can write a t
On Tue, Dec 10, 2019 at 3:57 AM Andreas Torbiörnsson <
andreas.torbiorns...@gmail.com> wrote:
> Hi group!
>
> Does anyone know if it is possible to use relative paths for the
> encryption keys when using hiera/eyaml with Bolt. I can't find any info
> about how Bolt/hiera treats relative paths when
On Mon, May 6, 2019 at 8:11 AM Clarence H wrote:
> Can you execute a task from a manifest file.
>
> I know you can execute
>
> puppet run task
>
> But I would like to run it from within my class like this...
>
>
>
> class foobar {
>
> file {/blah':
>ensure => present
> }
>
> run_task{
Thanks, I agree this output should be available when you're debugging apply
statements in plans and I did a spike on implementing this type of logging
a few months ago. After some testing it became apparent that this is too
much output for the default log level. When running on many nodes it
overwh
On Sat, Jan 5, 2019 at 6:04 PM Russell Fulton
wrote:
> Hi
>
> I have not come across Bolt before and have been looking at the docs. It
> certainly looks like something that I can use. I am assuming that one
> installs Bolt on your puppet server? But it really isn’t clear from the
> docs which
Bolt 0.8.0 is released! This is a feature release of the open-source task
runner, which includes:
- Sudo support: Tasks run over ssh can now connect as one user and
'--run_as' a different user via sudo.
- Winrm transport bug fixes
- Results when running tasks, commands, scripts and uploading file
On Tuesday, November 29, 2016 at 7:48:36 AM UTC-8, Jonathan Gazeley wrote:
>
> I'm dabbling with a new PE 2016.4 installation as I'm hoping to finally
> migrate away from Puppet 3.
>
> We're using code manager rather than r10k to deploy environments from
> git using a commit hook from GitLab.
On Thursday, May 12, 2016 at 11:01:49 AM UTC-7, Robert Chen wrote:
>
> my environment needs http_proxy, https_proxy for modules. probably code
> manager issue is an proxy issue
>
>
> # puppet-code deploy lab -l debug --wait
>
> 2016-05-12 13:39:48.388674 DEBUG puppetlabs.puppet-code - Loaded gl
On Monday, June 29, 2015 at 12:55:44 AM UTC-7, Alex Harvey wrote:
>
> I'm not exactly sure what's going on here but Puppet Forge seems to be
> still advertising the versions 2.0.0 and 2.0.1
>
> From librarian-puppet install --verbose
> ...
> [Librarian] Resolving puppetlabs-concat (< 2.0.0) <
>
10 matches
Mail list logo