Is "puppet agent --server" a valid command?

1,031 views
Skip to first unread message

Blueplastic

unread,
Aug 1, 2011, 4:50:15 PM8/1/11
to Puppet Users
It is not listed in the command details on this page?

http://docs.puppetlabs.com/man/agent.html

But it is cited as an example of a valid puppet agent command at the
very bottom of the page.

Kinda confusing.

Gary Larizza

unread,
Aug 1, 2011, 5:02:03 PM8/1/11
to puppet...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.


If you do a `puppet agent --help` from the command line, you'll see something that looks like this:

OPTIONS
=======
Note that any configuration parameter that's valid in the configuration
file is also a valid long argument. For example, 'server' is a valid
configuration parameter, so you can specify '--server <servername>' as
an argument.

Any puppet.conf configuration parameter can be specified from the command line as an argument.  So, --server <servername> would be the syntax here.

-Gary

Blueplastic

unread,
Aug 1, 2011, 7:42:50 PM8/1/11
to Puppet Users
Cool, thanks for the clarification Gary.


On Aug 1, 2:02 pm, Gary Larizza <ccsh...@gmail.com> wrote:
> On Mon, Aug 1, 2011 at 1:50 PM, Blueplastic <sam...@blueplastic.com> wrote:
> > It is not listed in the command details on this page?
>
> >http://docs.puppetlabs.com/man/agent.html
>
> > But it is cited as an example of a valid puppet agent command at the
> > very bottom of the page.
>
> > Kinda confusing.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Puppet Users" group.
> > To post to this group, send email to puppet...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > puppet-users...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/puppet-users?hl=en.
>
> If you do a `puppet agent --help` from the command line, you'll see
> something that looks like this:
>
> *OPTIONS*
> *=======*
> *Note that any configuration parameter that's valid in the configuration*
> *file is also a valid long argument. For example, 'server' is a valid*
> *configuration parameter, so you can specify '--server <servername>' as*
> *an argument.*
Reply all
Reply to author
Forward
0 new messages