Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow SimpleDevice to be initialized with a config hash #96

Merged
merged 1 commit into from
Jun 12, 2018

Conversation

DavidS
Copy link
Contributor

@DavidS DavidS commented Jun 12, 2018

Previously SimpleDevice was only looking for a credentials file to load.
This allows for tasks to re-use the same code as providers to connect to
devices.

Previously `SimpleDevice` was only looking for a credentials file to load.
This allows for tasks to re-use the same code as providers to connect to
devices.
@da-ar da-ar merged commit 838b76f into puppetlabs:master Jun 12, 2018
@DavidS DavidS deleted the simple-device-hash branch June 12, 2018 13:07
DavidS added a commit to DavidS/cisco_ios that referenced this pull request Oct 24, 2018
The Resource API allows a `Hash` with the credentials/config instead
of a `file://` URL [since 1.4.0](puppetlabs/puppet-resource_api#96).

This commit switches over to using the Resource API Device baseclass
to handle this behaviour for us. It also avoids the undeclared dependency
on the hocon gem.
shermdog added a commit to shermdog/meraki-puppet-module that referenced this pull request Nov 20, 2018
The Resource API allows a `Hash` with the credentials/config instead
of a `file://` URL [since 1.4.0](puppetlabs/puppet-resource_api#96).

This commit switches over to using the Resource API Device baseclass
to handle this behaviour for us. It also avoids the undeclared dependency
on the hocon gem.
shermdog added a commit to shermdog/meraki-puppet-module that referenced this pull request Nov 21, 2018
The Resource API allows a `Hash` with the credentials/config instead
of a `file://` URL [since 1.4.0](puppetlabs/puppet-resource_api#96).

This commit switches over to using the Resource API Device baseclass
to handle this behaviour for us. It also avoids the undeclared dependency
on the hocon gem.
shermdog added a commit to shermdog/meraki-puppet-module that referenced this pull request Nov 21, 2018
The Resource API allows a `Hash` with the credentials/config instead
of a `file://` URL [since 1.4.0](puppetlabs/puppet-resource_api#96).

This commit switches over to using the Resource API Device baseclass
to handle this behaviour for us. It also avoids the undeclared dependency
on the hocon gem.
shermdog added a commit to shermdog/meraki-puppet-module that referenced this pull request Nov 21, 2018
The Resource API allows a `Hash` with the credentials/config instead
of a `file://` URL [since 1.4.0](puppetlabs/puppet-resource_api#96).

This commit switches over to using the Resource API Device baseclass
to handle this behaviour for us. It also avoids the undeclared dependency
on the hocon gem.
shermdog added a commit to shermdog/meraki-puppet-module that referenced this pull request Nov 21, 2018
The Resource API allows a `Hash` with the credentials/config instead
of a `file://` URL [since 1.4.0](puppetlabs/puppet-resource_api#96).

This commit switches over to using the Resource API Device baseclass
to handle this behaviour for us. It also avoids the undeclared dependency
on the hocon gem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants