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

Exclude assets by IP, hostname, or IP ranges from site #109

Merged
merged 4 commits into from
Feb 17, 2015

Conversation

gschneider-r7
Copy link
Contributor

Resolves #106

@erran
Copy link
Contributor

erran commented Feb 11, 2015

Looks good. 👍

# @param [String] asset Identifier of an asset, either IP or host name.
#
def exclude_asset(asset)
obj = HostOrIP.convert(asset)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any risk by just making this into a single line?

   @exclude << HostOrIP.convert(asset)

@mdaines-r7
Copy link
Contributor

Incorporate @erran-r7 feedback on the other PR (#110) into this one as well.

sgreen-r7 added a commit that referenced this pull request Feb 17, 2015
Exclude assets by IP, hostname, or IP ranges from site
@sgreen-r7 sgreen-r7 merged commit 5df6a91 into master Feb 17, 2015
@sgreen-r7 sgreen-r7 deleted the issue_106_exclude_assets_from_site branch February 17, 2015 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create method to exclude assets from a site config
4 participants