• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

cescoffier/puppet-nexus: A Puppet Module for Nexus (Maven)

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

cescoffier/puppet-nexus

开源软件地址(OpenSource Url):

https://github.com/cescoffier/puppet-nexus

开源编程语言(OpenSource Language):

Puppet 40.2%

开源软件介绍(OpenSource Introduction):

Puppet Module for Nexus

This Puppet Module downloads Maven artifacts from a Nexus server. It supports:

  • artifact identification using GAV classifier and packaging
  • repository selection
  • authentication

It relies on the Nexus REST service and on curl.

Getting the module

  • Clone this repository and add it to your modulepath

Usage

# Initialize Nexus
class {'nexus':
	url => "http://edge.spree.de/nexus",
	username => "nexus",
	password => "********"
}

nexus::artifact {'commons-io':
	gav => "commons-io:commons-io:2.1",
	repository => "public",
	output => "/tmp/commons-io-2.1.jar"
}

nexus::artifact {'ipojo':
	gav => "org.apache.felix:org.apache.felix.ipojo:1.8.0",
	repository => "public",
	output => "/tmp/ipojo-1.8.jar"
}

nexus::artifact {'chameleon web distribution':
	gav => "org.ow2.chameleon:distribution-web:0.3.0-SNAPSHOT",
	classifier => 'distribution',
	packaging => 'zip',
	repository => "public-snapshots",
	output => "/tmp/distribution-web-0.3.0-SNAPSHOT.zip",
	timeout => 600,
	owner => 'myuser',
	group => 'mygroup',
	mode => 0755
}

License

This project is licensed under the Apache Software License 2.0.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap