Skip to content

Instantly share code, notes, and snippets.

@fiddyspence
Created November 23, 2012 19:00
Show Gist options
  • Save fiddyspence/4136851 to your computer and use it in GitHub Desktop.
Save fiddyspence/4136851 to your computer and use it in GitHub Desktop.
sshkey
[root@puppet1 type]# puppet apply -e "sshkey { 'myhost': ensure => present, host_aliases => ['ddb7.domain.tld', 'db7', ['1.2.3.4', '2001:0db8:85a3::8a2e:0370:7334']], key => 'AAAAB3NzaC1yc2EAAAABIwAAAQEAutSQCltTybWVT6DpYOcSxJkJwl+aM9SscXlhEc3aKTqO+/bIvghCKB04iP98yfjD0S1+K/XSEuIciznhDaE+WFpOQoFyNoSeRQlkweDUX5TjbvQDQHIaecpEB9BxedSDnLKvqdLYDXmj9Jwt/UJ2d49SNblD87QOmZ/5r2wDv8wNRWBMjVdAV6mj8bHWtZEwaZ/7foqIMYOEA0EBQ5pwSyUq9XxHhlJd980HHKA8LuZTo/zdQhlo9ut006sZtFkjtkvhretHwedMdh8NIFi7VOQVvHE0JTniIianKruPyglMjbvVf7m/lISmmC8j4ovbSocZ/CJ0/9D/r1qQP6uekw==', type => 'rsa',}"
notice: /Stage[main]//Sshkey[myhost]/host_aliases: host_aliases changed ['ddb7.domain.tld', 'db7', '1.2.3.4', '2001:0db8:85a3::8a2e:0370:7334'] to 'ddb7.domain.tld db7 1.2.3.4 2001:0db8:85a3::8a2e:0370:7334'
notice: Finished catalog run in 0.46 seconds
[root@puppet1 type]# puppet apply -e "sshkey { 'myhost': ensure => present, host_aliases => ['ddb7.domain.tld', 'db7', ['1.2.3.4', '2001:0db8:85a3::8a2e:0370:7334']], key => 'AAAAB3NzaC1yc2EAAAABIwAAAQEAutSQCltTybWVT6DpYOcSxJkJwl+aM9SscXlhEc3aKTqO+/bIvghCKB04iP98yfjD0S1+K/XSEuIciznhDaE+WFpOQoFyNoSeRQlkweDUX5TjbvQDQHIaecpEB9BxedSDnLKvqdLYDXmj9Jwt/UJ2d49SNblD87QOmZ/5r2wDv8wNRWBMjVdAV6mj8bHWtZEwaZ/7foqIMYOEA0EBQ5pwSyUq9XxHhlJd980HHKA8LuZTo/zdQhlo9ut006sZtFkjtkvhretHwedMdh8NIFi7VOQVvHE0JTniIianKruPyglMjbvVf7m/lISmmC8j4ovbSocZ/CJ0/9D/r1qQP6uekw==', type => 'rsa',}"
notice: /Stage[main]//Sshkey[myhost]/host_aliases: host_aliases changed ['ddb7.domain.tld', 'db7', '1.2.3.4', '2001:0db8:85a3::8a2e:0370:7334'] to 'ddb7.domain.tld db7 1.2.3.4 2001:0db8:85a3::8a2e:0370:7334'
notice: Finished catalog run in 0.46 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment