puppet apply vs puppet agent -t
up vote
1
down vote
favorite
I am new to puppet and while going through puppet courses, I found one person using 'puppet agent -t' command to configure an agent node while in another course, the instructor using 'puppet apply' command.
What is the difference between these two commands?
puppet puppet-enterprise
add a comment |
up vote
1
down vote
favorite
I am new to puppet and while going through puppet courses, I found one person using 'puppet agent -t' command to configure an agent node while in another course, the instructor using 'puppet apply' command.
What is the difference between these two commands?
puppet puppet-enterprise
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am new to puppet and while going through puppet courses, I found one person using 'puppet agent -t' command to configure an agent node while in another course, the instructor using 'puppet apply' command.
What is the difference between these two commands?
puppet puppet-enterprise
I am new to puppet and while going through puppet courses, I found one person using 'puppet agent -t' command to configure an agent node while in another course, the instructor using 'puppet apply' command.
What is the difference between these two commands?
puppet puppet-enterprise
puppet puppet-enterprise
asked 2 days ago
JavaYouth
5002826
5002826
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
These are:
puppet apply
- applies or "executes" Puppet code on the local machine.
puppet agent -t
also sometimes writtenpuppet agent --test
- calls the Puppet Agent to retrieve a catalog (compiled Puppet code) from a Puppet Master, and then applies it locally and immediately.
Note that -t
is badly-named, and it may originally have been intended for "testing" but in fact it is not a "test" mode at all, but will make changes to your machine.
See also puppet agent --noop
for the real "test" (dry-run) mode.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
These are:
puppet apply
- applies or "executes" Puppet code on the local machine.
puppet agent -t
also sometimes writtenpuppet agent --test
- calls the Puppet Agent to retrieve a catalog (compiled Puppet code) from a Puppet Master, and then applies it locally and immediately.
Note that -t
is badly-named, and it may originally have been intended for "testing" but in fact it is not a "test" mode at all, but will make changes to your machine.
See also puppet agent --noop
for the real "test" (dry-run) mode.
add a comment |
up vote
1
down vote
accepted
These are:
puppet apply
- applies or "executes" Puppet code on the local machine.
puppet agent -t
also sometimes writtenpuppet agent --test
- calls the Puppet Agent to retrieve a catalog (compiled Puppet code) from a Puppet Master, and then applies it locally and immediately.
Note that -t
is badly-named, and it may originally have been intended for "testing" but in fact it is not a "test" mode at all, but will make changes to your machine.
See also puppet agent --noop
for the real "test" (dry-run) mode.
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
These are:
puppet apply
- applies or "executes" Puppet code on the local machine.
puppet agent -t
also sometimes writtenpuppet agent --test
- calls the Puppet Agent to retrieve a catalog (compiled Puppet code) from a Puppet Master, and then applies it locally and immediately.
Note that -t
is badly-named, and it may originally have been intended for "testing" but in fact it is not a "test" mode at all, but will make changes to your machine.
See also puppet agent --noop
for the real "test" (dry-run) mode.
These are:
puppet apply
- applies or "executes" Puppet code on the local machine.
puppet agent -t
also sometimes writtenpuppet agent --test
- calls the Puppet Agent to retrieve a catalog (compiled Puppet code) from a Puppet Master, and then applies it locally and immediately.
Note that -t
is badly-named, and it may originally have been intended for "testing" but in fact it is not a "test" mode at all, but will make changes to your machine.
See also puppet agent --noop
for the real "test" (dry-run) mode.
answered 2 days ago
Alex Harvey
3,5331823
3,5331823
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53371289%2fpuppet-apply-vs-puppet-agent-t%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown