What is the best way to manage configuration data

Using commons-configuration you have a unified API for accessing the properties, no matter how they are represented – .properties, xml, JNDI, etc. For example: config.properties: jdbcHost=192.168.12.35 jdbcUsername=dbuser jdbcPassword=pass config.xml: <config> <jdbcHost>192.168.12.35</jdbcHost> <jdbcUsername>dbuser</jdbcUsername> <jdbcPassword>pass</jdbcPassword> </config> in both cases they will be accessible with something like: String host = config.getString(“jdbcHost”);

Official definition of CSCI (Computer Software Configuration Item)

As far as I can tell, CSCI was defined in the same logic as HWCI (Hardware Configuration Item) in DOD-STD-2167A which simply defined CSCI as a configuration item. More clear definition is in MIL-STD-498 which superseded DOD-STD-2167A: CSCI – An aggregation of software that satisfies an end use function and is designated for separate configuration … Read more

Manage configuration files across environments

The Config4* project (disclaimer: I am its primary developer) does not have an out-of-the-box integration with .Net or WCF, so it is probably not useful to you. However, one of the features in Config4* is relevant to your question: it is the ability to embed if-then-else statements in a configuration file, so that the file … Read more

What is the difference between configuration management and version control?

Version control is necessary but not sufficient for configuration management. Version control happens in some central or distributed repository, but says nothing about where any particular version is deployed or used. Configuration management worries about how to take what is in version control and deploy that consistently to the appropriate places, primarily QA and production, … Read more

TFS vs SVN [closed]

“One can not compare between TFS and SVN“ SVN: is Source Code Versioning System TFS: is full fledged Software Development Management system which contains, Version control, Release management, Requirements tracking, Document publishing and other things. Both have nice to use IDE integration add-ins(e.g. AnkhSVN, Collabnet’s add-in) available for VS2005, so that is not the point … Read more

Configuration Management for Windows [closed]

Chef is supported on Windows by Opscode. While we don’t run Windows for any of our infrastructure, we do have developers who are continually improving our Windows support. We also get community contributions, and most of the early phase Windows functionality for Chef was contributed by the community. Important: Opscode now provides an MSI installer … Read more

Displaying output of a remote command with Ansible

I’m not sure about the syntax of your specific commands (e.g., vagrant, etc), but in general… Just register Ansible’s (not-normally-shown) JSON output to a variable, then display each variable’s stdout_lines attribute: – name: Generate SSH keys for vagrant user user: name=vagrant generate_ssh_key=yes ssh_key_bits=2048 register: vagrant – debug: var=vagrant.stdout_lines – name: Show SSH public key command: … Read more

Why do people use Puppet/Chef with Amazon Cloud Formation instead of just using CloudInit?

Is there an advantage over CloudInit? Yes, absolutely, many of them! Sure, you can write top to bottom run once CloudInit scripts to provision a server. But what happens when you need to change a configuration file, add a user, update a package, or install a new package? You will end up logging into servers … Read more

tech