You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@ubuntu:# vi my.pp
root@ubuntu:# puppet apply --verbose my.pp
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class apt at /root/my.pp:52 on node ubuntu
Wrapped exception:
Could not find declared class apt
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class apt at /root/my.pp:52 on node ubuntu
root@ubuntu:# exit
logout
vic@ubuntu:$ sudo puppet apply --verbose my.pp
[sudo] password for vic:
Error: Could not run: Could not find file my.pp
vic@ubuntu:$ sudo puppet apply --verbose /root/my.pp
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class apt at /root/my.pp:52 on node ubuntu.ad.spirentcom.com
Wrapped exception:
Could not find declared class apt
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class apt at /root/my.pp:52 on node ubuntu.ad.spirentcom.com
vic@ubuntu:$
The text was updated successfully, but these errors were encountered:
root@ubuntu:
# vi my.pp# puppet apply --verbose my.pproot@ubuntu:
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class apt at /root/my.pp:52 on node ubuntu
Wrapped exception:
Could not find declared class apt
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class apt at /root/my.pp:52 on node ubuntu
root@ubuntu:
# exit$ sudo puppet apply --verbose my.pplogout
vic@ubuntu:
[sudo] password for vic:
Error: Could not run: Could not find file my.pp
vic@ubuntu:
$ sudo puppet apply --verbose /root/my.pp$Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class apt at /root/my.pp:52 on node ubuntu.ad.spirentcom.com
Wrapped exception:
Could not find declared class apt
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class apt at /root/my.pp:52 on node ubuntu.ad.spirentcom.com
vic@ubuntu:
The text was updated successfully, but these errors were encountered: