Puppet 'node' has no 'deactivate' action

141 views
Skip to first unread message

Kelvin Jasperson

unread,
Nov 16, 2015, 4:59:42 PM11/16/15
to Puppet Users
I'm installing Puppet as a gem in an RVM gemset, but when I do it that way the node deactivate doesn't seem to work.

# puppet node deactivte
Error: 'node' has no 'deactivte' action.  See `puppet help node`.

However, when using the packaged puppet, node deactivate is functional. Has anyone run into this before?
Obviously the solution is to just use the system package, but if there is a way to get the puppetdb terminus into the RVM version of Puppet I'd rather do that.

Environmental information and command outputs:
OS:
CentOS release 6.7 (Final)

Puppet version:
3.7.5

Ruby version (RVM):
ruby 2.0.0p643

RVM version:
rvm 1.26.11

# puppet help node

USAGE
: puppet node <action> [--terminus TERMINUS] [--extra HASH]

...

ACTIONS
:
  clean      
Clean up everything a puppetmaster knows about a node.
  destroy    
Invalid for this subcommand.
  find      
Retrieve a node object.
  info      
Print the default terminus class for this face.
  save      
Invalid for this subcommand.
  search    
Invalid for this subcommand.


TERMINI
: active_record, exec, ldap, memory, msgpack, plain, rest, store_configs, write_only_yaml, yaml

When using the packaged version:

# rvm use system
Now using system ruby.
# puppet help node

USAGE
: puppet node <action> [--terminus TERMINUS] [--extra HASH]

...

ACTIONS
:
  clean        
Clean up everything a puppetmaster knows about a node.
  deactivate    
Deactivate a set of nodes in PuppetDB
  destroy      
Invalid for this subcommand.
  find          
Retrieve a node object.
  info          
Print the default terminus class for this face.
  save          
Invalid for this subcommand.
  search        
Invalid for this subcommand.
  status        
Fetch the current status for a set of nodes in PuppetDB


TERMINI
: active_record, exec, ldap, memory, msgpack, plain, puppetdb, rest, store_configs, write_only_yaml, yaml

Thanks
Kelvin

Angel L. Mateo

unread,
Nov 17, 2015, 2:00:18 AM11/17/15
to puppet...@googlegroups.com
El 16/11/15 a las 22:13, Kelvin Jasperson escribió:
> I'm installing Puppet as a gem in an RVM gemset, but when I do it that
> way the node deactivate doesn't seem to work.
>
> |
> # puppet node deactivte
> Error:'node'has no'deactivte'action.See`puppet help node`.
> |
>
It's "deactivate", not "deactivte". Have you checked this?

--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868887590
Fax: 868888337

Kelvin Jasperson

unread,
Nov 17, 2015, 9:56:31 AM11/17/15
to Puppet Users, ama...@um.es
Thanks for that catch! Not sure how that typo made it in there.. but it doesn't work either way.

# puppet node deactivate
Error: 'node' has no 'deactivate' action.  See `puppet help node`.


Kelvin
Reply all
Reply to author
Forward
0 new messages