{"action":"opened","issue":{"url":"https://api.github.com/repos/danzilio/puppet-letsencrypt/issues/43","repository_url":"https://api.github.com/repos/danzilio/puppet-letsencrypt","labels_url":"https://api.github.com/repos/danzilio/puppet-letsencrypt/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/danzilio/puppet-letsencrypt/issues/43/comments","events_url":"https://api.github.com/repos/danzilio/puppet-letsencrypt/issues/43/events","html_url":"https://github.com/danzilio/puppet-letsencrypt/issues/43","id":163131336,"number":43,"title":"Testing: Change the server or use --staging?","user":{"login":"fvanboven","id":5867854,"avatar_url":"https://avatars.githubusercontent.com/u/5867854?v=3","gravatar_id":"","url":"https://api.github.com/users/fvanboven","html_url":"https://github.com/fvanboven","followers_url":"https://api.github.com/users/fvanboven/followers","following_url":"https://api.github.com/users/fvanboven/following{/other_user}","gists_url":"https://api.github.com/users/fvanboven/gists{/gist_id}","starred_url":"https://api.github.com/users/fvanboven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvanboven/subscriptions","organizations_url":"https://api.github.com/users/fvanboven/orgs","repos_url":"https://api.github.com/users/fvanboven/repos","events_url":"https://api.github.com/users/fvanboven/events{/privacy}","received_events_url":"https://api.github.com/users/fvanboven/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-30T10:20:44Z","updated_at":"2016-06-30T10:20:44Z","closed_at":null,"body":"The readme states that the server configuration should be changed if you want to use the staging environment. But CertBot itself can handle this using the \"-- staging\" argument. \r\n\r\nIsn't it perhaps a nice feature to make this a solid part of the module? To create a consistent way of testing and keeping the logic of the e.g. the staging server hostname out of the implementation. \r\n\r\nSomething like:\r\n\r\n```puppet\r\ncertbot::certonly { 'foo':\r\n  domains => ['foo.example.com', 'bar.example.com'],\r\n  staging => true,\r\n}\r\n```\r\nOr make it a machine-wide config:\r\n\r\n```puppet\r\nclass { ::certbot:\r\n  staging => true,\r\n}\r\n```\r\n\r\n\r\n"}}
{"actor":{"display_login":"fvanboven"}}